pub struct ResultState(pub String);Expand description
A status an operation is allowed to answer with.
An operation that needs a state outside this set is not conformant; the contract must be versioned first. This is the rule that keeps two implementations answerable to one client.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for ResultState
impl Clone for ResultState
Source§fn clone(&self) -> ResultState
fn clone(&self) -> ResultState
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 ResultState
impl Debug for ResultState
impl Eq for ResultState
Source§impl Ord for ResultState
impl Ord for ResultState
Source§fn cmp(&self, other: &ResultState) -> Ordering
fn cmp(&self, other: &ResultState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResultState
impl PartialEq for ResultState
Source§impl PartialOrd for ResultState
impl PartialOrd for ResultState
impl StructuralPartialEq for ResultState
Auto Trait Implementations§
impl Freeze for ResultState
impl RefUnwindSafe for ResultState
impl Send for ResultState
impl Sync for ResultState
impl Unpin for ResultState
impl UnsafeUnpin for ResultState
impl UnwindSafe for ResultState
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