pub struct MethodId {
pub name: &'static str,
pub num: u32,
}
Expand description
Identifies a method by both a name and an index. The Indices are automatically generated in the order methods are listed on the trait. Used when implementing ClientTransport
Fields§
§name: &'static str
§num: u32
Trait Implementations§
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