Enum splitmonic::wordlist::WordlistError [−][src]
Expand description
The error type returned while interacting with wordists.
Variants
InvalidIndex(usize)
Describes the error when the wordlist is queried at an invalid index.
InvalidWord(String)
Describes the error when the wordlist does not contain the queried word.
Trait Implementations
impl Debug for WordlistError
[src]
impl Debug for WordlistError
[src]impl Display for WordlistError
[src]
impl Display for WordlistError
[src]impl Error for WordlistError
[src]
impl Error for WordlistError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<WordlistError> for Error
[src]
impl From<WordlistError> for Error
[src]fn from(source: WordlistError) -> Self
[src]
fn from(source: WordlistError) -> Self
[src]Performs the conversion.
impl PartialEq<WordlistError> for WordlistError
[src]
impl PartialEq<WordlistError> for WordlistError
[src]fn eq(&self, other: &WordlistError) -> bool
[src]
fn eq(&self, other: &WordlistError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &WordlistError) -> bool
[src]
fn ne(&self, other: &WordlistError) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for WordlistError
[src]
Auto Trait Implementations
impl RefUnwindSafe for WordlistError
impl Send for WordlistError
impl Sync for WordlistError
impl Unpin for WordlistError
impl UnwindSafe for WordlistError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,