pub struct InvalidContextError<F>(/* private fields */);Expand description
The error returned by PluginHandle::with_context when the context is
not valid.
Implementations§
Source§impl<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> Freeze for InvalidContextError<F>where
F: Freeze,
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§
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