pub enum PackItem {
Change(Box<Parcel>),
RecordKey(StatementId, WrappedKey),
BlobKey(Hash, WrappedBlobKey),
Blob(Hash, Vec<u8>),
}Expand description
An item of a pack.
Variants§
Change(Box<Parcel>)
A change, with its sealed payload and keys as far as the writer held them.
RecordKey(StatementId, WrappedKey)
A wrapped record key of a secret statement.
BlobKey(Hash, WrappedBlobKey)
A wrapped blob key.
Blob(Hash, Vec<u8>)
A sealed blob of at most MOST_PACK_BLOB bytes, by its sealed hash.
Trait Implementations§
impl Eq for PackItem
impl StructuralPartialEq for PackItem
Auto Trait Implementations§
impl Forget for PackItem
impl Freeze for PackItem
impl Move for PackItem
impl RefUnwindSafe for PackItem
impl Send for PackItem
impl Sync for PackItem
impl Unpin for PackItem
impl UnsafeUnpin for PackItem
impl UnwindSafe for PackItem
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