pub enum AckOutcome {
Applied {
applied: u64,
generation: u64,
},
Refused {
refusal: Refusal,
},
}Expand description
The outcome of one acknowledged request.
Variants§
Applied
Applied; applied is the backend’s monotone action counter and
generation the view generation after application.
Refused
Refused with a typed reason; nothing was applied.
Trait Implementations§
Source§impl Clone for AckOutcome
impl Clone for AckOutcome
Source§impl Debug for AckOutcome
impl Debug for AckOutcome
Source§impl<'de> Deserialize<'de> for AckOutcome
impl<'de> Deserialize<'de> for AckOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AckOutcome
impl PartialEq for AckOutcome
Source§impl Serialize for AckOutcome
impl Serialize for AckOutcome
impl StructuralPartialEq for AckOutcome
Auto Trait Implementations§
impl Freeze for AckOutcome
impl RefUnwindSafe for AckOutcome
impl Send for AckOutcome
impl Sync for AckOutcome
impl Unpin for AckOutcome
impl UnsafeUnpin for AckOutcome
impl UnwindSafe for AckOutcome
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