pub enum ContextSetupError {
ReadingEnv(Error),
PunyCodingDomain(EncodingError),
}
Expand description
Error returned when creating a “simple_context” fails.
Variants§
ReadingEnv(Error)
Reading the env variables failed.
(Mainly getting the current working dir failed).
PunyCodingDomain(EncodingError)
Punny encoding a non us-ascii domain failed.
Trait Implementations§
Source§impl Debug for ContextSetupError
impl Debug for ContextSetupError
Source§impl Display for ContextSetupError
impl Display for ContextSetupError
Source§impl Fail for ContextSetupError
impl Fail for ContextSetupError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreAuto Trait Implementations§
impl !Freeze for ContextSetupError
impl !RefUnwindSafe for ContextSetupError
impl Send for ContextSetupError
impl Sync for ContextSetupError
impl Unpin for ContextSetupError
impl !UnwindSafe for ContextSetupError
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