pub struct MessageId(pub i32);Expand description
A message id is 0..=i32::MAX. A request takes an id from FIRST up;
UNSOLICITED is the id of a server’s notification.
Tuple Fields§
§0: i32Implementations§
Trait Implementations§
impl Copy for MessageId
impl Eq for MessageId
impl StructuralPartialEq for MessageId
Auto Trait Implementations§
impl Forget for MessageId
impl Freeze for MessageId
impl Move for MessageId
impl RefUnwindSafe for MessageId
impl Send for MessageId
impl Sync for MessageId
impl Unpin for MessageId
impl UnsafeUnpin for MessageId
impl UnwindSafe for MessageId
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