pub struct SegmentExpectation<'a> {
pub id: SegmentId,
pub sealed_len: u64,
pub plain_len: u64,
pub dictionary: Option<&'a Dictionary>,
}Expand description
What a caller already knows about a segment from its signed record.
Fields§
§id: SegmentId§sealed_len: u64Exact length of the sealed bytes.
plain_len: u64Exact length of the decompressed bytes.
dictionary: Option<&'a Dictionary>The verified dictionary the record names, if any.
Auto Trait Implementations§
impl<'a> Freeze for SegmentExpectation<'a>
impl<'a> RefUnwindSafe for SegmentExpectation<'a>
impl<'a> Send for SegmentExpectation<'a>
impl<'a> Sync for SegmentExpectation<'a>
impl<'a> Unpin for SegmentExpectation<'a>
impl<'a> UnsafeUnpin for SegmentExpectation<'a>
impl<'a> UnwindSafe for SegmentExpectation<'a>
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