pub enum Transfer<V, C> {
Call(CallTransfer<V, C>),
Return(ReturnTransfer<V>),
}Expand description
Explicit control transfer interpreted by a consumer-owned machine driver.
Variants§
Call(CallTransfer<V, C>)
Enter prepared code with explicit values and widths.
Return(ReturnTransfer<V>)
Resume the saved continuation with explicit values and widths.
Trait Implementations§
impl<V: Eq, C: Eq> Eq for Transfer<V, C>
impl<V: PartialEq, C: PartialEq> StructuralPartialEq for Transfer<V, C>
Auto Trait Implementations§
impl<V, C> Freeze for Transfer<V, C>where
C: Freeze,
impl<V, C> RefUnwindSafe for Transfer<V, C>where
C: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, C> Send for Transfer<V, C>
impl<V, C> Sync for Transfer<V, C>
impl<V, C> Unpin for Transfer<V, C>
impl<V, C> UnsafeUnpin for Transfer<V, C>where
C: UnsafeUnpin,
impl<V, C> UnwindSafe for Transfer<V, C>where
C: UnwindSafe,
V: 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