pub struct NodeLink {
pub duplex: LinkDuplex,
pub session: NegotiatedSession,
pub endpoint: String,
}Expand description
A live, greeted connection to the daemon.
Fields§
§duplex: LinkDuplexThe framed duplex.
session: NegotiatedSessionWhat the greeting agreed to (§7.2).
endpoint: StringThe endpoint that answered.
Implementations§
Source§impl NodeLink
impl NodeLink
Sourcepub fn into_halves(self) -> (LinkReader, LinkWriter, NegotiatedSession)
pub fn into_halves(self) -> (LinkReader, LinkWriter, NegotiatedSession)
Splits the link into the halves the reader and writer tasks own.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for NodeLink
impl !Sync for NodeLink
impl !UnwindSafe for NodeLink
impl Freeze for NodeLink
impl Send for NodeLink
impl Unpin for NodeLink
impl UnsafeUnpin for NodeLink
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