pub struct ConnectionCtx {
pub conn: ConnId,
pub node: u32,
pub pair: NetPair,
}Fields§
§conn: ConnId§node: u32§pair: NetPairTrait Implementations§
Source§impl Clone for ConnectionCtx
impl Clone for ConnectionCtx
Source§fn clone(&self) -> ConnectionCtx
fn clone(&self) -> ConnectionCtx
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConnectionCtx
impl RefUnwindSafe for ConnectionCtx
impl Send for ConnectionCtx
impl Sync for ConnectionCtx
impl Unpin for ConnectionCtx
impl UnwindSafe for ConnectionCtx
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