pub struct GatherOpts {
pub port: u16,
pub host_override: Option<IpAddr>,
pub port_mapping: bool,
pub ipv6: bool,
}Fields§
§port: u16§host_override: Option<IpAddr>Skip discovery and advertise only this address (dev / manual forwarding).
port_mapping: bool§ipv6: boolTrait Implementations§
Source§impl Clone for GatherOpts
impl Clone for GatherOpts
Source§fn clone(&self) -> GatherOpts
fn clone(&self) -> GatherOpts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GatherOpts
impl RefUnwindSafe for GatherOpts
impl Send for GatherOpts
impl Sync for GatherOpts
impl Unpin for GatherOpts
impl UnsafeUnpin for GatherOpts
impl UnwindSafe for GatherOpts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more