pub struct Host(/* private fields */);Available on crate feature
std or rust_v_1_77 only.Expand description
Type representing network address of an LN node.
This type can avoid allocations if the value is an IP address.
**Important: consumer code MUST NOT match on this using Host { .. } syntax.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Host
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnwindSafe for Host
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