Struct tantivy_common::AntiCallToken
source · pub struct AntiCallToken(/* private fields */);
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 Freeze for AntiCallToken
impl RefUnwindSafe for AntiCallToken
impl Send for AntiCallToken
impl Sync for AntiCallToken
impl Unpin for AntiCallToken
impl UnwindSafe for AntiCallToken
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