pub enum IngestClientInitializationError {
NoIps,
SocketInit(Error),
SocketConnection {
error: Error,
remote_addr: SocketAddr,
},
Tls(Error),
ClientLocalAddrParse(AddrParseError),
ParseIngestEndpoint(ParseIngestEndpointError),
}
Variants§
NoIps
SocketInit(Error)
SocketConnection
Tls(Error)
ClientLocalAddrParse(AddrParseError)
ParseIngestEndpoint(ParseIngestEndpointError)
Trait Implementations§
source§impl Error for IngestClientInitializationError
impl Error for IngestClientInitializationError
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<AddrParseError> for IngestClientInitializationError
impl From<AddrParseError> for IngestClientInitializationError
source§fn from(source: AddrParseError) -> Self
fn from(source: AddrParseError) -> Self
Converts to this type from the input type.
source§impl From<Error> for IngestClientInitializationError
impl From<Error> for IngestClientInitializationError
source§impl From<ParseIngestEndpointError> for IngestClientInitializationError
impl From<ParseIngestEndpointError> for IngestClientInitializationError
source§fn from(source: ParseIngestEndpointError) -> Self
fn from(source: ParseIngestEndpointError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IngestClientInitializationError
impl !RefUnwindSafe for IngestClientInitializationError
impl Send for IngestClientInitializationError
impl Sync for IngestClientInitializationError
impl Unpin for IngestClientInitializationError
impl !UnwindSafe for IngestClientInitializationError
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