Struct tantivy_common::AntiCallToken
source · [−]pub struct AntiCallToken(_);
Expand description
Struct used to prevent from calling
terminate_ref
directly
The point is that while the type is public, it cannot be built by anyone outside of this module.
Auto Trait Implementations
impl RefUnwindSafe for AntiCallToken
impl Send for AntiCallToken
impl Sync for AntiCallToken
impl Unpin for AntiCallToken
impl UnwindSafe for AntiCallToken
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