pub enum Io {
Flush {
shard: u32,
epoch: u64,
},
Checkpoint {
shard: u32,
epoch: u64,
},
LogFlush {
epoch: u64,
seq: u64,
},
BlobFlush {
epoch: u64,
id: u64,
},
}Expand description
Scheduled I/O completions, owned by the world.
Variants§
Flush
Checkpoint
LogFlush
One of the shared log’s writes in flight may now sync.
BlobFlush
The shared log’s blob writes through job id may now sync.
Trait Implementations§
impl Copy for Io
impl Eq for Io
Source§impl Ord for Io
impl Ord for Io
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Io
impl PartialOrd for Io
impl StructuralPartialEq for Io
Auto Trait Implementations§
impl Forget for Io
impl Freeze for Io
impl Move for Io
impl RefUnwindSafe for Io
impl Send for Io
impl Sync for Io
impl Unpin for Io
impl UnsafeUnpin for Io
impl UnwindSafe for Io
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