pub struct InvalidContextError<F>(_);
Expand description
The error returned by PluginHandle::with_context
when the context is
not valid.
Implementations
sourceimpl<F> InvalidContextError<F>
impl<F> InvalidContextError<F>
sourcepub fn get_closure(self) -> F
pub fn get_closure(self) -> F
Returns the closure wrapped within this error.
Auto Trait Implementations
impl<F> RefUnwindSafe for InvalidContextError<F> where
F: RefUnwindSafe,
impl<F> Send for InvalidContextError<F> where
F: Send,
impl<F> Sync for InvalidContextError<F> where
F: Sync,
impl<F> Unpin for InvalidContextError<F> where
F: Unpin,
impl<F> UnwindSafe for InvalidContextError<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more