pub struct Bound { /* private fields */ }Expand description
A listening socket and the origin that will answer on it.
Separate from Origin so that “the port is ours” is a thing the caller holds rather
than something it hopes for. A caller cannot announce that the daemon is up before it
is, because it has nothing to announce until this exists.
Implementations§
Auto Trait Implementations§
impl !Freeze for Bound
impl !RefUnwindSafe for Bound
impl !UnwindSafe for Bound
impl Send for Bound
impl Sync for Bound
impl Unpin for Bound
impl UnsafeUnpin for Bound
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