pub struct RootCondition {
pub name: Vec<u8>,
pub expected: Option<RootManifest>,
}Expand description
A named-root value that must still match at transaction commit time.
Fields§
§name: Vec<u8>Durable root name.
expected: Option<RootManifest>Manifest observed by the transaction. None means the root was absent.
Implementations§
Source§impl RootCondition
impl RootCondition
Trait Implementations§
Source§impl Clone for RootCondition
impl Clone for RootCondition
Source§fn clone(&self) -> RootCondition
fn clone(&self) -> RootCondition
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 moreSource§impl Debug for RootCondition
impl Debug for RootCondition
Source§impl PartialEq for RootCondition
impl PartialEq for RootCondition
impl StructuralPartialEq for RootCondition
Auto Trait Implementations§
impl Freeze for RootCondition
impl RefUnwindSafe for RootCondition
impl Send for RootCondition
impl Sync for RootCondition
impl Unpin for RootCondition
impl UnsafeUnpin for RootCondition
impl UnwindSafe for RootCondition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more