pub enum ApplyResult {
Success {
created_records: Vec<Id128>,
},
Failed {
error: String,
applied_step_count: u32,
},
}Expand description
Outcome of applying a proposal: either all steps succeeded or the apply failed with an error.
Variants§
Trait Implementations§
Source§impl Clone for ApplyResult
impl Clone for ApplyResult
Source§impl Debug for ApplyResult
impl Debug for ApplyResult
Source§impl PartialEq for ApplyResult
impl PartialEq for ApplyResult
impl StructuralPartialEq for ApplyResult
Auto Trait Implementations§
impl Forget for ApplyResult
impl Freeze for ApplyResult
impl Move for ApplyResult
impl RefUnwindSafe for ApplyResult
impl Send for ApplyResultwhere
RawVecInner: Send,
impl Sync for ApplyResultwhere
RawVecInner: Sync,
impl Unpin for ApplyResult
impl UnsafeUnpin for ApplyResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Id128>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for ApplyResultwhere
RawVecInner: UnwindSafe,
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