pub struct Beacon {
pub service_ip: String,
pub service_port: u16,
pub service_name: Vec<u8>,
}Expand description
Beacon contains information about the beacon that was received by a BeaconListener
Fields§
§service_ip: StringThe IP address and port the beacon was sent from
service_port: u16The port the service is running on
service_name: Vec<u8>The name of the service sending the beacon
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Beacon
impl RefUnwindSafe for Beacon
impl Send for Beacon
impl Sync for Beacon
impl Unpin for Beacon
impl UnwindSafe for Beacon
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