pub enum ClaimCheckOp {
Set,
Get,
GetAndRemove,
Push,
Pop,
}Expand description
Claim Check operation variant.
Variants§
Set
Stash the body in the repository; replace exchange body with key reference.
Get
Retrieve the body from the repository by key; replace exchange body.
GetAndRemove
Retrieve and remove in one atomic step.
Push
Push current body onto a LIFO stack for this key; replace body with key reference.
Pop
Pop body from a LIFO stack for this key; replace exchange body.
Trait Implementations§
Source§impl Clone for ClaimCheckOp
impl Clone for ClaimCheckOp
Source§fn clone(&self) -> ClaimCheckOp
fn clone(&self) -> ClaimCheckOp
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 ClaimCheckOp
impl Debug for ClaimCheckOp
impl Eq for ClaimCheckOp
Source§impl PartialEq for ClaimCheckOp
impl PartialEq for ClaimCheckOp
Source§fn eq(&self, other: &ClaimCheckOp) -> bool
fn eq(&self, other: &ClaimCheckOp) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClaimCheckOp
Auto Trait Implementations§
impl Freeze for ClaimCheckOp
impl RefUnwindSafe for ClaimCheckOp
impl Send for ClaimCheckOp
impl Sync for ClaimCheckOp
impl Unpin for ClaimCheckOp
impl UnsafeUnpin for ClaimCheckOp
impl UnwindSafe for ClaimCheckOp
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§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.