Enum bitcoin::blockdata::transaction::ParseOutPointError
source · 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
sourceimpl Clone for ParseOutPointError
impl Clone for ParseOutPointError
sourcefn clone(&self) -> ParseOutPointError
fn clone(&self) -> ParseOutPointError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ParseOutPointError
impl Debug for ParseOutPointError
sourceimpl Display for ParseOutPointError
impl Display for ParseOutPointError
sourceimpl Error for ParseOutPointError
Available on crate feature std
only.
impl Error for ParseOutPointError
Available on crate feature
std
only.sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl PartialEq<ParseOutPointError> for ParseOutPointError
impl PartialEq<ParseOutPointError> for ParseOutPointError
sourcefn eq(&self, other: &ParseOutPointError) -> bool
fn eq(&self, other: &ParseOutPointError) -> bool
impl Eq for ParseOutPointError
impl StructuralEq for ParseOutPointError
impl StructuralPartialEq for ParseOutPointError
Auto Trait Implementations
impl RefUnwindSafe for ParseOutPointError
impl Send for ParseOutPointError
impl Sync for ParseOutPointError
impl Unpin for ParseOutPointError
impl UnwindSafe for ParseOutPointError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more