pub struct PreservedPiece {
pub data: Bytes,
pub offset: u64,
pub last: bool,
}Expand description
One verified canonical slice. No instance is stored in the admin ledger.
Fields§
§data: BytesCanonical payload; bounded by the preservation piece size.
offset: u64Exact requested offset of this slice.
last: boolTrue only after the final piece passes current retention/ownership checks.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PreservedPiece
impl RefUnwindSafe for PreservedPiece
impl Send for PreservedPiece
impl Sync for PreservedPiece
impl Unpin for PreservedPiece
impl UnsafeUnpin for PreservedPiece
impl UnwindSafe for PreservedPiece
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