pub struct PairedNode {
pub local: NodeId,
pub remote: NodeDescription,
pub tokens: TokenStore,
pub details: Option<ConnectionDetails>,
}Available on crate feature
connect-server only.Expand description
One node this endpoint is paired with.
Fields§
§local: NodeIdWhich of our nodes.
remote: NodeDescriptionWho they are.
tokens: TokenStoreThe access tokens that open the door, newest first.
details: Option<ConnectionDetails>What we told them about where to connect, if we are the communication server.
Trait Implementations§
Source§impl Clone for PairedNode
impl Clone for PairedNode
Auto Trait Implementations§
impl Forget for PairedNode
impl Freeze for PairedNode
impl RefUnwindSafe for PairedNode
impl Send for PairedNode
impl Sync for PairedNode
impl Unpin for PairedNode
impl UnsafeUnpin for PairedNode
impl UnwindSafe for PairedNode
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