pub struct ConnectionKey(/* private fields */);Expand description
协议身份、选项和静态 marker 契约。 本地连接身份,不写入 wire。
Trait Implementations§
Source§impl Clone for ConnectionKey
impl Clone for ConnectionKey
impl Copy for ConnectionKey
Source§impl Debug for ConnectionKey
impl Debug for ConnectionKey
impl Eq for ConnectionKey
Source§impl Hash for ConnectionKey
impl Hash for ConnectionKey
Source§impl Ord for ConnectionKey
impl Ord for ConnectionKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ConnectionKey
impl PartialEq for ConnectionKey
Source§impl PartialOrd for ConnectionKey
impl PartialOrd for ConnectionKey
impl StructuralPartialEq for ConnectionKey
Auto Trait Implementations§
impl Freeze for ConnectionKey
impl RefUnwindSafe for ConnectionKey
impl Send for ConnectionKey
impl Sync for ConnectionKey
impl Unpin for ConnectionKey
impl UnsafeUnpin for ConnectionKey
impl UnwindSafe for ConnectionKey
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