pub struct RawXorbData {
pub data: Vec<Bytes>,
pub xorb_info: MDBXorbInfo,
pub file_boundaries: Vec<usize>,
}Expand description
This struct is the data needed to cut a
Fields§
§data: Vec<Bytes>The data for the xorb info.
xorb_info: MDBXorbInfoThe cas info associated with the current xorb.
file_boundaries: Vec<usize>The indices where a new file starts, to be used for the compression heuristic.
Implementations§
Source§impl RawXorbData
impl RawXorbData
Trait Implementations§
Source§impl Clone for RawXorbData
impl Clone for RawXorbData
Source§fn clone(&self) -> RawXorbData
fn clone(&self) -> RawXorbData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RawXorbData
impl Debug for RawXorbData
Source§impl Default for RawXorbData
impl Default for RawXorbData
Source§fn default() -> RawXorbData
fn default() -> RawXorbData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RawXorbData
impl RefUnwindSafe for RawXorbData
impl Send for RawXorbData
impl Sync for RawXorbData
impl Unpin for RawXorbData
impl UnsafeUnpin for RawXorbData
impl UnwindSafe for RawXorbData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more