pub struct AbiConnectionMethod {
pub method_name: String,
pub caller_info: AbiMethodInfo,
pub callee_method_number: Option<u16>,
pub compatibility_mask: u64,
}Expand description
Describes a method in a trait
Fields§
§method_name: StringThe name of the method
caller_info: AbiMethodInfoThis is mostly for debugging, it’s not actually used
callee_method_number: Option<u16>The ordinal number of this method at the callee, or None if callee doesn’t have method.
compatibility_mask: u64For each of the up to 64 different arguments, a bit value of 1 means layout is identical, and in such a way that references can be just binary copied (owned arguments must still be cloned, and we can just as well do that using serialization, it will be approx as fast).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AbiConnectionMethod
impl RefUnwindSafe for AbiConnectionMethod
impl Send for AbiConnectionMethod
impl Sync for AbiConnectionMethod
impl Unpin for AbiConnectionMethod
impl UnwindSafe for AbiConnectionMethod
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