pub enum ParseOutPointError {
Txid(Error),
Vout(ParseIntError),
Format,
TooLong,
VoutNotCanonical,
}Expand description
An error in parsing an OutPoint.
Variants§
Txid(Error)
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§
Source§impl Clone for ParseOutPointError
impl Clone for ParseOutPointError
Source§fn clone(&self) -> ParseOutPointError
fn clone(&self) -> ParseOutPointError
Returns a duplicate 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 ParseOutPointError
impl Debug for ParseOutPointError
Source§impl Display for ParseOutPointError
impl Display for ParseOutPointError
Source§impl Error for ParseOutPointError
impl Error for ParseOutPointError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§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