pub enum FreeMode {
Delete,
Release,
}Expand description
Free mode.
Variants§
Delete
Delete the resource immediately.
Release
Release the resource, but keep the handle valid for future use.
Trait Implementations§
impl Copy for FreeMode
impl Eq for FreeMode
impl StructuralPartialEq for FreeMode
Auto Trait Implementations§
impl Freeze for FreeMode
impl RefUnwindSafe for FreeMode
impl Send for FreeMode
impl Sync for FreeMode
impl Unpin for FreeMode
impl UnwindSafe for FreeMode
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