pub struct MethodMetadata {
pub name: &'static str,
pub entry_id: u16,
pub hash: [u8; 32],
pub is_async: bool,
}Expand description
Metadata for a service method.
Fields§
§name: &'static str§entry_id: u16§hash: [u8; 32]§is_async: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for MethodMetadata
impl RefUnwindSafe for MethodMetadata
impl Send for MethodMetadata
impl Sync for MethodMetadata
impl Unpin for MethodMetadata
impl UnsafeUnpin for MethodMetadata
impl UnwindSafe for MethodMetadata
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