pub struct RemoteDestructor { /* private fields */ }Expand description
A remote destructor for a State.
This type serves the same purpose as Destructor but also implements Send+Sync.
This object can be constructed with State::create_remote_destructor.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RemoteDestructor
impl RefUnwindSafe for RemoteDestructor
impl Send for RemoteDestructor
impl Sync for RemoteDestructor
impl Unpin for RemoteDestructor
impl UnwindSafe for RemoteDestructor
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