pub enum Import {
CoreDef(CoreDef),
Transcode {
op: Transcode,
from: CoreDef,
from64: bool,
to: CoreDef,
to64: bool,
},
ResourceTransferOwn,
ResourceTransferBorrow,
ResourceEnterCall,
ResourceExitCall,
}
Expand description
Possible imports into an adapter module.
Variants§
CoreDef(CoreDef)
A definition required in the configuration of an Adapter
.
Transcode
A transcoding function from the host to convert between string encodings.
Fields
ResourceTransferOwn
Transfers an owned resource from one table to another.
ResourceTransferBorrow
Transfers a borrowed resource from one table to another.
ResourceEnterCall
Sets up entry metadata for a borrow resources when a call starts.
ResourceExitCall
Tears down a previous entry and handles checking borrow-related metadata.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Import
impl RefUnwindSafe for Import
impl Send for Import
impl Sync for Import
impl Unpin for Import
impl UnwindSafe for Import
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