Struct dynamic_arena::NonSend
source · [−]pub struct NonSend { /* private fields */ }
Expand description
Marker type that indiates everything in the DynamicArena
isn’t nesicarrily Send
.
This prevents you from Send
ing the arena itself across threads,
as described in the Sendable
docs.
Trait Implementations
sourceimpl SendAbility for NonSend
impl SendAbility for NonSend
sourcefn create_arena<'a>() -> DynamicArena<'a, Self>
fn create_arena<'a>() -> DynamicArena<'a, Self>
Create an arena corresponding to this type of thread-safety
Auto Trait Implementations
impl RefUnwindSafe for NonSend
impl !Send for NonSend
impl !Sync for NonSend
impl Unpin for NonSend
impl UnwindSafe for NonSend
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