pub enum Address {
Local,
Cached(u8),
Inline(AddressString),
Broadcast,
}Expand description
Network address for daemon communication
Variants§
Local
Local daemon via Unix socket
Cached(u8)
Cached host by index (1-127)
Inline(AddressString)
Inline address string (hostname:port or IP:port)
Broadcast
Broadcast/discover all daemons
Implementations§
Trait Implementations§
impl Eq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnsafeUnpin for Address
impl UnwindSafe for Address
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