pub enum LogProducerError {
IO(Error),
Transport(Error),
BadUrl(ParseError),
MissingHeader(Option<HeaderName>),
Endpoint {
status_code: StatusCode,
error_code: String,
error_message: String,
},
Protobuf(Error),
InvalidParameter {
error_message: String,
},
}
Variants§
IO(Error)
Transport(Error)
BadUrl(ParseError)
MissingHeader(Option<HeaderName>)
Endpoint
Protobuf(Error)
InvalidParameter
Trait Implementations§
Source§impl Debug for LogProducerError
impl Debug for LogProducerError
Source§impl Display for LogProducerError
impl Display for LogProducerError
Source§impl Error for LogProducerError
impl Error for LogProducerError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for LogProducerError
impl From<Error> for LogProducerError
Source§impl From<Error> for LogProducerError
impl From<Error> for LogProducerError
Source§impl From<Error> for LogProducerError
impl From<Error> for LogProducerError
Source§impl From<ParseError> for LogProducerError
impl From<ParseError> for LogProducerError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for LogProducerError
impl !RefUnwindSafe for LogProducerError
impl Send for LogProducerError
impl Sync for LogProducerError
impl Unpin for LogProducerError
impl !UnwindSafe for LogProducerError
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