pub struct DirectBatchMethodSpec<'a> {
pub method: &'a HybridMethodSpec,
pub opcode: u16,
pub ret: DirectReturnSpec,
pub ok_ty: &'a HybridType,
pub has_reply: bool,
}Expand description
Lowered metadata for one #[batchable] method inside a direct-FFI module.
Fields§
§method: &'a HybridMethodSpec§opcode: u161-based method opcode matching NV_MOD_<UPPER>_METHOD_<NAME>.
ret: DirectReturnSpec§ok_ty: &'a HybridType§has_reply: boolTrait Implementations§
Source§impl<'a> Clone for DirectBatchMethodSpec<'a>
impl<'a> Clone for DirectBatchMethodSpec<'a>
Source§fn clone(&self) -> DirectBatchMethodSpec<'a>
fn clone(&self) -> DirectBatchMethodSpec<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Forget for DirectBatchMethodSpec<'a>
impl<'a> Freeze for DirectBatchMethodSpec<'a>where
&'a HybridMethodSpec: Freeze,
*const HybridType is !null: Freeze,
PhantomData<HybridType>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
&'a HybridType: Freeze,
impl<'a> Move for DirectBatchMethodSpec<'a>
impl<'a> RefUnwindSafe for DirectBatchMethodSpec<'a>
impl<'a> Send for DirectBatchMethodSpec<'a>where
&'a HybridMethodSpec: Send,
BoxRaw<HybridType>: Send,
RawVecInner: Send,
&'a HybridType: Send,
impl<'a> Sync for DirectBatchMethodSpec<'a>
impl<'a> Unpin for DirectBatchMethodSpec<'a>where
&'a HybridMethodSpec: Unpin,
Box<HybridType>: Unpin,
*const u8 is !null: Unpin,
&'a HybridType: Unpin,
impl<'a> UnsafeUnpin for DirectBatchMethodSpec<'a>where
&'a HybridMethodSpec: UnsafeUnpin,
*const HybridType is !null: UnsafeUnpin,
PhantomData<HybridType>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'a HybridType: UnsafeUnpin,
impl<'a> UnwindSafe for DirectBatchMethodSpec<'a>where
&'a HybridMethodSpec: UnwindSafe,
BoxRaw<HybridType>: UnwindSafe,
RawVecInner: UnwindSafe,
&'a HybridType: UnwindSafe,
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