pub struct NonSend { /* private fields */ }Expand description
Marker type that indiates everything in the DynamicArena isn’t nesicarrily Send.
This prevents you from Sending the arena itself across threads,
as described in the Sendable docs.
Trait Implementations§
Source§impl SendAbility for NonSend
impl SendAbility for NonSend
Source§fn 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 Freeze for NonSend
impl RefUnwindSafe for NonSend
impl !Send for NonSend
impl !Sync for NonSend
impl Unpin for NonSend
impl UnwindSafe for NonSend
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