pub enum Error {
MissingCommand,
ServerDown,
HttpClientError(Error),
ReportError(ReportError),
IoError(KrillIoError),
EmptyResponse,
Rfc8183(Error),
InitError(String),
InputError(String),
}
Variants§
MissingCommand
ServerDown
HttpClientError(Error)
ReportError(ReportError)
IoError(KrillIoError)
EmptyResponse
Rfc8183(Error)
InitError(String)
InputError(String)
Trait Implementations§
source§impl From<KrillIoError> for Error
impl From<KrillIoError> for Error
source§fn from(e: KrillIoError) -> Self
fn from(e: KrillIoError) -> Self
Converts to this type from the input type.
source§impl From<ReportError> for Error
impl From<ReportError> for Error
source§fn from(e: ReportError) -> Self
fn from(e: ReportError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Text for Twhere
T: Display,
impl<T> Text for Twhere
T: Display,
source§fn write_escaped(
&self,
mode: TextEscape,
target: &mut impl Write
) -> Result<(), Error>
fn write_escaped( &self, mode: TextEscape, target: &mut impl Write ) -> Result<(), Error>
Write text escaped for the given mode to
target
.