pub struct Parcel {
pub change: Change,
pub payload: Option<SealedPayload>,
pub keys: Vec<WrappedChangeKey>,
}Expand description
A change with its sealed payload and wrapped key, as far as a replica has them: the three travel together, but may arrive apart, and the payload and key are deleted when the change is purged.
Fields§
§change: ChangeThe change.
payload: Option<SealedPayload>Its sealed payload.
keys: Vec<WrappedChangeKey>Its wrapped key: one, or a few on a replica that cannot tell yet which is good.
Implementations§
Trait Implementations§
impl Eq for Parcel
impl StructuralPartialEq for Parcel
Auto Trait Implementations§
impl Forget for Parcel
impl Freeze for Parcel
impl Move for Parcel
impl RefUnwindSafe for Parcel
impl Send for Parcel
impl Sync for Parcel
impl Unpin for Parcel
impl UnsafeUnpin for Parcel
impl UnwindSafe for Parcel
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