[−][src]Enum bdrck::error::Error
Error is a structure which denotes all of the possible kinds of errors bdrck can produce, including errors from any of its underlying dependencies.
Variants
EnvVar(VarError)
An error encountered while trying to interact with environment variables.
FromUtf8(FromUtf8Error)
An error decoding bytes as UTF-8 text.
HexDecode(DecodeError)
An error encountered in trying to decode a hex string to the bytes it represents.
Http(Error)
An error originating in HTTP client code.
Internal(Error)
An internal unrecoverable error, usually due to some underlying library.
InvalidArgument(Error)
Errors akin to EINVAL - essentially, an argument passed into a function was invalid in some way..
Io(Error)
An I/O error, generally encountered when interacting with the filesystem.
Json(Error)
An error encountered while serializing or deserializing JSON.
MsgDecode(Error)
An error encountered when decoding a serialized message.
MsgEncode(Error)
An error encountered when encoding a struct to a serialized message.
NotFound(Error)
Errors akin to ENOENT - something like e.g. "file not found", although this is not necessarily always about files.
Nul(NulError)
An error where some data returned by an underlying library call contained a NUL byte ('\0'), in a context where such a thing is invalid.
ParseInt(ParseIntError)
An error encountered when trying to parse an integer from a string.
ParseIpAddr(AddrParseError)
An error encountered when trying to parse an IP address from a string.
Precondition(Error)
A precondition error, which basically amounts to a function being called when one or more of its preconditions were not satisfied.
Regex(Error)
An error encountered in either parsing or applying a regular expression.
SetLogger(SetLoggerError)
An error encountered when attempting to set the global Logger implementation.
StringParse(ParseError)
An awkward hack; this error exists to use String's FromStr impl, but this operation won't actually ever fail.
Unknown(Error)
An error of an unknown type occurred. Generally this comes from some dependency or underlying library, in a case where it's difficult to tell exactly what kind of problem occurred.
Url(UrlError)
An error in decoding a URL.
Trait Implementations
impl From<VarError> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(e: FromUtf8Error) -> Self
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<NulError> for Error
[src]
impl From<ParseIntError> for Error
[src]
fn from(e: ParseIntError) -> Self
[src]
impl From<AddrParseError> for Error
[src]
fn from(e: AddrParseError) -> Self
[src]
impl From<Error> for Error
[src]
impl From<SetLoggerError> for Error
[src]
fn from(e: SetLoggerError) -> Self
[src]
impl From<Infallible> for Error
[src]
fn from(e: ParseError) -> Self
[src]
impl From<Error> for Error
[src]
impl From<ParseError> for Error
[src]
impl Debug for Error
[src]
impl Display for Error
[src]
impl Fail for Error
[src]
Auto Trait Implementations
impl Send for Error
impl Unpin for Error
impl Sync for Error
impl !UnwindSafe for Error
impl !RefUnwindSafe for Error
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>
[src]
fn cause(&self) -> Option<&(dyn Fail + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,