Struct Placed
pub struct Placed {
pub segment: u64,
pub offset: u64,
pub bytes: Vec<u8>,
pub header: Option<WalHeader>,
pub seq: u64,
}Expand description
Bytes to write at offset of segment; header is set when the batch
starts a new segment (write the header block first, or together).
Fields§
§segment: u64§offset: u64§bytes: Vec<u8>§header: Option<WalHeader>§seq: u64Trait Implementations§
impl Eq for Placed
impl StructuralPartialEq for Placed
Auto Trait Implementations§
impl Freeze for Placed
impl RefUnwindSafe for Placed
impl Send for Placed
impl Sync for Placed
impl Unpin for Placed
impl UnsafeUnpin for Placed
impl UnwindSafe for Placed
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