Enum ParseOutPointError
#[non_exhaustive]pub enum ParseOutPointError {
Txid(HexToArrayError),
Vout(ParseIntError),
Format,
TooLong,
VoutNotCanonical,
}
Expand description
An error in parsing an OutPoint.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Txid(HexToArrayError)
Error in TXID part.
Vout(ParseIntError)
Error in vout part.
Format
Error in general format.
TooLong
Size exceeds max.
VoutNotCanonical
Vout part is not strictly numeric without leading zeroes.
Trait Implementations§
§impl Clone for ParseOutPointError
impl Clone for ParseOutPointError
§fn clone(&self) -> ParseOutPointError
fn clone(&self) -> ParseOutPointError
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 more§impl Debug for ParseOutPointError
impl Debug for ParseOutPointError
§impl Display for ParseOutPointError
impl Display for ParseOutPointError
§impl Error for ParseOutPointError
impl Error for ParseOutPointError
§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
§impl From<Infallible> for ParseOutPointError
impl From<Infallible> for ParseOutPointError
§fn from(never: Infallible) -> ParseOutPointError
fn from(never: Infallible) -> ParseOutPointError
Converts to this type from the input type.
§impl PartialEq for ParseOutPointError
impl PartialEq for ParseOutPointError
impl Eq for ParseOutPointError
impl StructuralPartialEq for ParseOutPointError
Auto Trait Implementations§
impl Freeze for ParseOutPointError
impl RefUnwindSafe for ParseOutPointError
impl Send for ParseOutPointError
impl Sync for ParseOutPointError
impl Unpin for ParseOutPointError
impl UnwindSafe for ParseOutPointError
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more