pub enum NativeBindingResources {
Instructions(Arc<NativeInstructionResources>),
Hooks(Box<NativeHookResources>),
}Expand description
Kept distinct from the instruction-only type: only the Hooks variant can stage/load code, and that requires an independently approved private profile.
Variants§
Instructions(Arc<NativeInstructionResources>)
Hooks(Box<NativeHookResources>)
Implementations§
Source§impl NativeBindingResources
impl NativeBindingResources
pub fn freeze( selection: ResourceSelection, hooks: Option<NativeHookConfig>, ) -> BackendResult<Self>
pub fn identity(&self) -> &str
Auto Trait Implementations§
impl Forget for NativeBindingResources
impl Freeze for NativeBindingResources
impl Move for NativeBindingResources
impl RefUnwindSafe for NativeBindingResources
impl Send for NativeBindingResources
impl Sync for NativeBindingResources
impl Unpin for NativeBindingResources
impl UnsafeUnpin for NativeBindingResources
impl UnwindSafe for NativeBindingResources
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