pub struct Confirmation { /* private fields */ }Implementations§
Source§impl Confirmation
impl Confirmation
pub fn prepare( operation: Operation, state: &RuntimeState, target: Option<&str>, live: Option<&LiveIdentity>, ) -> Result<Self, StateError>
pub fn verify(&self, current: &Self) -> Result<(), StateError>
Trait Implementations§
Source§impl Clone for Confirmation
impl Clone for Confirmation
Source§impl Debug for Confirmation
impl Debug for Confirmation
impl Eq for Confirmation
Source§impl PartialEq for Confirmation
impl PartialEq for Confirmation
Source§impl Serialize for Confirmation
impl Serialize for Confirmation
impl StructuralPartialEq for Confirmation
Auto Trait Implementations§
impl Freeze for Confirmation
impl RefUnwindSafe for Confirmation
impl Send for Confirmation
impl Sync for Confirmation
impl Unpin for Confirmation
impl UnsafeUnpin for Confirmation
impl UnwindSafe for Confirmation
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.