pub enum PartialTreeWrite {
Stored {
redacted: usize,
visible: usize,
},
SupersededByFull,
}Expand description
The outcome of storing a redacted partial projection under the monotone
discipline enforced by ObjectStore::put_partial_tree.
Variants§
Stored
The projection was written to the partial slot.
Fields
SupersededByFull
A full canonical tree for this hash is already held, so the projection was dropped rather than stored — a full tree supersedes a partial, and a partial never overwrites a full (monotone).
Trait Implementations§
Source§impl Clone for PartialTreeWrite
impl Clone for PartialTreeWrite
Source§fn clone(&self) -> PartialTreeWrite
fn clone(&self) -> PartialTreeWrite
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PartialTreeWrite
Source§impl Debug for PartialTreeWrite
impl Debug for PartialTreeWrite
impl Eq for PartialTreeWrite
Source§impl PartialEq for PartialTreeWrite
impl PartialEq for PartialTreeWrite
impl StructuralPartialEq for PartialTreeWrite
Auto Trait Implementations§
impl Freeze for PartialTreeWrite
impl RefUnwindSafe for PartialTreeWrite
impl Send for PartialTreeWrite
impl Sync for PartialTreeWrite
impl Unpin for PartialTreeWrite
impl UnsafeUnpin for PartialTreeWrite
impl UnwindSafe for PartialTreeWrite
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