pub struct ExchangeId(pub u16);Expand description
A 16-bit exchange identifier (Core §4.4.3.3).
Tuple Fields§
§0: u16Trait Implementations§
Source§impl Clone for ExchangeId
impl Clone for ExchangeId
impl Copy for ExchangeId
Source§impl Debug for ExchangeId
impl Debug for ExchangeId
Source§impl Default for ExchangeId
impl Default for ExchangeId
impl Eq for ExchangeId
Source§impl Hash for ExchangeId
impl Hash for ExchangeId
Source§impl Ord for ExchangeId
impl Ord for ExchangeId
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 ExchangeId
impl PartialEq for ExchangeId
Source§impl PartialOrd for ExchangeId
impl PartialOrd for ExchangeId
impl StructuralPartialEq for ExchangeId
Auto Trait Implementations§
impl Forget for ExchangeId
impl Freeze for ExchangeId
impl Move for ExchangeId
impl RefUnwindSafe for ExchangeId
impl Send for ExchangeId
impl Sync for ExchangeId
impl Unpin for ExchangeId
impl UnsafeUnpin for ExchangeId
impl UnwindSafe for ExchangeId
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