pub struct LanServer {
pub addr: SocketAddrV4,
pub motd: String,
pub port: u16,
}
Expand description
LAN server info structure.
Fields§
§addr: SocketAddrV4
SocketAddrV4 information for the target server from recv_from
.
motd: String
MOTD of the target server.
port: u16
Open port of the target server.
Trait Implementations§
impl Eq for LanServer
impl StructuralPartialEq for LanServer
Auto Trait Implementations§
impl Freeze for LanServer
impl RefUnwindSafe for LanServer
impl Send for LanServer
impl Sync for LanServer
impl Unpin for LanServer
impl UnwindSafe for LanServer
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