pub enum ServerTlv {
Name(String),
Version(String),
Address(Ipv4Addr),
Port(u16),
}
Expand description
An enum which describes the various TLV values with which the server can respond.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ServerTlv
impl Send for ServerTlv
impl Sync for ServerTlv
impl Unpin for ServerTlv
impl UnwindSafe for ServerTlv
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