pub enum RemoteManifestUpdate {
Applied,
Conflict {
current: Option<Vec<u8>>,
},
}Expand description
Result of a backend-level root compare-and-swap.
Variants§
Applied
The expected manifest matched and the update was applied.
Conflict
The expected manifest did not match the current manifest bytes.
Trait Implementations§
Source§impl Clone for RemoteManifestUpdate
impl Clone for RemoteManifestUpdate
Source§fn clone(&self) -> RemoteManifestUpdate
fn clone(&self) -> RemoteManifestUpdate
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 RemoteManifestUpdate
impl Debug for RemoteManifestUpdate
impl Eq for RemoteManifestUpdate
Source§impl PartialEq for RemoteManifestUpdate
impl PartialEq for RemoteManifestUpdate
impl StructuralPartialEq for RemoteManifestUpdate
Auto Trait Implementations§
impl Freeze for RemoteManifestUpdate
impl RefUnwindSafe for RemoteManifestUpdate
impl Send for RemoteManifestUpdate
impl Sync for RemoteManifestUpdate
impl Unpin for RemoteManifestUpdate
impl UnsafeUnpin for RemoteManifestUpdate
impl UnwindSafe for RemoteManifestUpdate
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