Enum choices::error::ChoicesError [−][src]
Error type for all kind of errors generated by choices
.
Variants
ParseError(String)
Generic parsing error.
Utf8Error(Utf8Error)
Error when attempting to interpret a sequence of u8 as a string.
FromUtf8Error(FromUtf8Error)
Error when converting a String from a UTF-8 byte vector.
Error when a conversion from slice to array fails.
ParseIntError(ParseIntError)
Error when parsing an integer.
ParseFloatError(ParseFloatError)
Error when parsing a float.
ParseBoolError(ParseBoolError)
Error when parsing a bool.
ParseCharError(ParseCharError)
Error when parsing a char.
ValidationError(String)
Error when validating a field.
Trait Implementations
impl Clone for ChoicesError
[src]
fn clone(&self) -> ChoicesError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ChoicesError
[src]
impl Display for ChoicesError
[src]
impl Error for ChoicesError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<FromUtf8Error> for ChoicesError
[src]
fn from(err: FromUtf8Error) -> Self
[src]
impl From<ParseBoolError> for ChoicesError
[src]
fn from(err: ParseBoolError) -> Self
[src]
impl From<ParseCharError> for ChoicesError
[src]
fn from(err: ParseCharError) -> Self
[src]
impl From<ParseFloatError> for ChoicesError
[src]
fn from(err: ParseFloatError) -> Self
[src]
impl From<ParseIntError> for ChoicesError
[src]
fn from(err: ParseIntError) -> Self
[src]
impl From<Utf8Error> for ChoicesError
[src]
impl PartialEq<ChoicesError> for ChoicesError
[src]
fn eq(&self, other: &ChoicesError) -> bool
[src]
fn ne(&self, other: &ChoicesError) -> bool
[src]
impl StructuralPartialEq for ChoicesError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChoicesError
impl Send for ChoicesError
impl Sync for ChoicesError
impl Unpin for ChoicesError
impl UnwindSafe for ChoicesError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,