pub struct DebugMode(/* private fields */);Expand description
Debug output mask on file system transaction kinds.
Implementations§
Source§impl DebugMode
impl DebugMode
Sourcepub const fn enable_kind(self, kind: FspTransactKind) -> Self
pub const fn enable_kind(self, kind: FspTransactKind) -> Self
Enable debug output for the specific transaction kind.
Sourcepub const fn disable_kind(self, kind: FspTransactKind) -> Self
pub const fn disable_kind(self, kind: FspTransactKind) -> Self
Disable debug output for the specific transaction kind.
Trait Implementations§
impl Copy for DebugMode
Auto Trait Implementations§
impl Freeze for DebugMode
impl RefUnwindSafe for DebugMode
impl Send for DebugMode
impl Sync for DebugMode
impl Unpin for DebugMode
impl UnwindSafe for DebugMode
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