Struct sp_runtime_interface::wasm::RestoreImplementation
source · [−]pub struct RestoreImplementation<T: 'static + Copy>(_, _);
Expand description
Restores a function implementation on drop.
Stores a static reference to the function object and the original implementation.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for RestoreImplementation<T>
impl<T> Send for RestoreImplementation<T> where
T: Send,
impl<T> Sync for RestoreImplementation<T> where
T: Sync,
impl<T> Unpin for RestoreImplementation<T> where
T: Unpin,
impl<T> !UnwindSafe for RestoreImplementation<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more