pub struct BeaconConfig {
pub target: SocketAddr,
pub guid: [u8; 12],
pub tcp_port: u16,
pub advertise_ip: Option<IpAddr>,
pub listen_ip: IpAddr,
pub period_secs: u64,
}Expand description
Configuration for the beacon sender.
Fields§
§target: SocketAddr§guid: [u8; 12]§tcp_port: u16§advertise_ip: Option<IpAddr>§listen_ip: IpAddr§period_secs: u64Auto Trait Implementations§
impl Freeze for BeaconConfig
impl RefUnwindSafe for BeaconConfig
impl Send for BeaconConfig
impl Sync for BeaconConfig
impl Unpin for BeaconConfig
impl UnsafeUnpin for BeaconConfig
impl UnwindSafe for BeaconConfig
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