pub struct DisposableResource { /* private fields */ }
Expand description
Example disposable resource
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DisposableResource
impl RefUnwindSafe for DisposableResource
impl Send for DisposableResource
impl Sync for DisposableResource
impl Unpin for DisposableResource
impl UnwindSafe for DisposableResource
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