Enum htrpc::ErrorKind
[−]
[src]
pub enum ErrorKind { Invalid, Other, }
The list of the possible error kinds.
Variants
Invalid
Input data is invalid.
Other
Other error.
Trait Implementations
impl IntoTrackableError<Error> for ErrorKind
fn into_trackable_error(e: Error) -> TrackableError<ErrorKind>
Converts from From
to TrackableError<Self>
.
impl Debug for ErrorKind
[src]
impl Clone for ErrorKind
[src]
fn clone(&self) -> ErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ErrorKind
[src]
impl PartialEq for ErrorKind
[src]
fn eq(&self, __arg_0: &ErrorKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for ErrorKind
[src]
impl TrackableErrorKind for ErrorKind
[src]
fn description(&self) -> &str
A short description of the error kind. Read more
fn display(&self, f: &mut Formatter) -> Result<(), Error>
Displays this kind. Read more
fn is_tracking_needed(&self) -> bool
Returns whether the error of this kind is needed to be tracked. Read more
fn is_assigning_tracking_number_needed(&self) -> bool
Returns whether the error of this kind is needed to be assigned a tracking number automatically. Read more
impl IntoTrackableError<Error> for ErrorKind
[src]
fn into_trackable_error(e: Error) -> TrackableError<ErrorKind>
Converts from From
to TrackableError<Self>
.
impl<T> IntoTrackableError<(Error, T)> for ErrorKind
[src]
fn into_trackable_error((e, _): (Error, T)) -> TrackableError<ErrorKind>
Converts from From
to TrackableError<Self>
.
impl IntoTrackableError<Utf8Error> for ErrorKind
[src]
fn into_trackable_error(e: Utf8Error) -> TrackableError<ErrorKind>
Converts from From
to TrackableError<Self>
.
impl IntoTrackableError<ParseBoolError> for ErrorKind
[src]
fn into_trackable_error(e: ParseBoolError) -> TrackableError<ErrorKind>
Converts from From
to TrackableError<Self>
.
impl IntoTrackableError<FromUtf8Error> for ErrorKind
[src]
fn into_trackable_error(e: FromUtf8Error) -> TrackableError<ErrorKind>
Converts from From
to TrackableError<Self>
.
impl IntoTrackableError<ParseIntError> for ErrorKind
[src]
fn into_trackable_error(e: ParseIntError) -> TrackableError<ErrorKind>
Converts from From
to TrackableError<Self>
.
impl IntoTrackableError<ParseFloatError> for ErrorKind
[src]
fn into_trackable_error(e: ParseFloatError) -> TrackableError<ErrorKind>
Converts from From
to TrackableError<Self>
.
impl IntoTrackableError<ParseError> for ErrorKind
[src]
fn into_trackable_error(e: ParseError) -> TrackableError<ErrorKind>
Converts from From
to TrackableError<Self>
.
impl IntoTrackableError<Error> for ErrorKind
[src]
fn into_trackable_error(e: Error) -> TrackableError<ErrorKind>
Converts from From
to TrackableError<Self>
.
impl IntoTrackableError<Error> for ErrorKind
[src]
fn into_trackable_error(e: Error) -> TrackableError<ErrorKind>
Converts from From
to TrackableError<Self>
.
impl<A, B, C, D, E> IntoTrackableError<Phase<A, B, C, D, E>> for ErrorKind where
ErrorKind: IntoTrackableError<A>,
ErrorKind: IntoTrackableError<B>,
ErrorKind: IntoTrackableError<C>,
ErrorKind: IntoTrackableError<D>,
ErrorKind: IntoTrackableError<E>,
[src]
ErrorKind: IntoTrackableError<A>,
ErrorKind: IntoTrackableError<B>,
ErrorKind: IntoTrackableError<C>,
ErrorKind: IntoTrackableError<D>,
ErrorKind: IntoTrackableError<E>,
fn into_trackable_error(from: Phase<A, B, C, D, E>) -> TrackableError<ErrorKind>
Converts from From
to TrackableError<Self>
.