pub enum IndexParseError {
Invalid(IndexError),
Parse(ParseIntError),
HardenedRequired(String),
}
Variants§
Invalid(IndexError)
Parse(ParseIntError)
invalid index string representation - {0}
HardenedRequired(String)
expected hardened index value instead of the provided unhardened {0}
Trait Implementations§
Source§impl Clone for IndexParseError
impl Clone for IndexParseError
Source§fn clone(&self) -> IndexParseError
fn clone(&self) -> IndexParseError
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 IndexParseError
impl Debug for IndexParseError
Source§impl Display for IndexParseError
impl Display for IndexParseError
Source§impl Error for IndexParseError
impl Error for IndexParseError
1.30.0 · Source§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()
Source§impl From<IndexError> for IndexParseError
impl From<IndexError> for IndexParseError
Source§fn from(v: IndexError) -> Self
fn from(v: IndexError) -> Self
Converts to this type from the input type.
Source§impl From<IndexParseError> for SegParseError
impl From<IndexParseError> for SegParseError
Source§fn from(v: IndexParseError) -> Self
fn from(v: IndexParseError) -> Self
Converts to this type from the input type.
Source§impl From<IndexParseError> for String
impl From<IndexParseError> for String
Source§fn from(err: IndexParseError) -> Self
fn from(err: IndexParseError) -> Self
Converts to this type from the input type.
Source§impl From<IndexParseError> for TerminalParseError
impl From<IndexParseError> for TerminalParseError
Source§fn from(v: IndexParseError) -> Self
fn from(v: IndexParseError) -> Self
Converts to this type from the input type.
Source§impl From<IndexParseError> for XkeyParseError
impl From<IndexParseError> for XkeyParseError
Source§fn from(v: IndexParseError) -> Self
fn from(v: IndexParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for IndexParseError
impl From<ParseIntError> for IndexParseError
Source§fn from(v: ParseIntError) -> Self
fn from(v: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IndexParseError
impl PartialEq for IndexParseError
impl Eq for IndexParseError
impl StructuralPartialEq for IndexParseError
Auto Trait Implementations§
impl Freeze for IndexParseError
impl RefUnwindSafe for IndexParseError
impl Send for IndexParseError
impl Sync for IndexParseError
impl Unpin for IndexParseError
impl UnwindSafe for IndexParseError
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.