pub enum WriteMode {
Onboard,
Draining,
Direct,
}Expand description
Which log append is currently writing to.
Variants§
Onboard
No volume, or the volume faulted: samples go to the onboard log.
Draining
A volume is attached but the onboard backlog has not drained yet.
Direct
The backlog is empty and samples go straight to the volume.
Only reachable under WritePolicy::CardFirst.
Trait Implementations§
impl Copy for WriteMode
impl Eq for WriteMode
impl StructuralPartialEq for WriteMode
Auto Trait Implementations§
impl Freeze for WriteMode
impl RefUnwindSafe for WriteMode
impl Send for WriteMode
impl Sync for WriteMode
impl Unpin for WriteMode
impl UnsafeUnpin for WriteMode
impl UnwindSafe for WriteMode
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