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
The IP address and port the beacon was sent from
The port the service is running on
The name of the service sending the beacon
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.