#[repr(i32)]pub enum FuaFlags {
None,
Emulate,
Native,
}
Expand description
Return values for Server::can_fua
Variants§
None
FUA support is not advertised to the client
Emulate
The Server::flush
callback must work (even if Server::can_flush
returns false), and FUA support is emulated by calling Server::flush
after any write operation;
Native
The Server::write_at
, Server::zero
, and Server::trim
callbacks (if implemented) must handle the flag Flags::FUA
, by not
returning until that action has landed in persistent storage.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FuaFlags
impl Send for FuaFlags
impl Sync for FuaFlags
impl Unpin for FuaFlags
impl UnwindSafe for FuaFlags
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