Enum rgbstd::contract::OpoutParseError
source · pub enum OpoutParseError {
InvalidNodeId(Error),
InvalidType(ParseIntError),
InvalidOutputNo(ParseIntError),
WrongFormat(String),
}Variants§
InvalidNodeId(Error)
InvalidType(ParseIntError)
InvalidOutputNo(ParseIntError)
WrongFormat(String)
invalid operation outpoint format (‘{0}’)
Trait Implementations§
source§impl Clone for OpoutParseError
impl Clone for OpoutParseError
source§fn clone(&self) -> OpoutParseError
fn clone(&self) -> OpoutParseError
Returns a copy of the value. Read more
1.0.0 · 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 OpoutParseError
impl Debug for OpoutParseError
source§impl Display for OpoutParseError
impl Display for OpoutParseError
source§impl Error for OpoutParseError
impl Error for OpoutParseError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for OpoutParseError
impl From<Error> for OpoutParseError
source§fn from(v: Error) -> OpoutParseError
fn from(v: Error) -> OpoutParseError
Converts to this type from the input type.
source§impl PartialEq<OpoutParseError> for OpoutParseError
impl PartialEq<OpoutParseError> for OpoutParseError
source§fn eq(&self, other: &OpoutParseError) -> bool
fn eq(&self, other: &OpoutParseError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for OpoutParseError
impl StructuralEq for OpoutParseError
impl StructuralPartialEq for OpoutParseError
Auto Trait Implementations§
impl RefUnwindSafe for OpoutParseError
impl Send for OpoutParseError
impl Sync for OpoutParseError
impl Unpin for OpoutParseError
impl UnwindSafe for OpoutParseError
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.