pub enum ApproveStateResult {
Sent(Option<Vec<PropagationResult>>),
RejectedState {
reason: InvalidNewState,
state_root: String,
propagation: Vec<PropagationResult>,
},
}
Variants
Sent(Option<Vec<PropagationResult>>)
When None
the conditions for approving the NewState
(and generating ApproveState
) haven’t been met
RejectedState
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ApproveStateResult
impl Send for ApproveStateResult
impl Sync for ApproveStateResult
impl Unpin for ApproveStateResult
impl !UnwindSafe for ApproveStateResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more