pub struct MethodId(pub u32);Expand description
A unique identifier for a method within a registry.
Method IDs are the on-wire method IDs: a stable hash of "Service.method".
Method ID 0 is reserved for control frames.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
impl Copy for MethodId
impl Eq for MethodId
impl StructuralPartialEq for MethodId
Auto Trait Implementations§
impl Freeze for MethodId
impl RefUnwindSafe for MethodId
impl Send for MethodId
impl Sync for MethodId
impl Unpin for MethodId
impl UnwindSafe for MethodId
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