pub enum SeliumError {
Show 20 variants
Quic(QuicError),
Crypto(CryptoError),
Log(LogError),
Topic(TopicError),
ParseEndpointAddress(ParseEndpointAddressError),
ParseRemoteAddress(ParseRemoteAddressError),
ParseCertificateHost(ParseCertificateHostError),
ParseDurationMillis,
Codec(CodecError),
Protocol(ProtocolError),
RequestFailed,
RequestHandlerFailure(String),
RequestTimeout,
OpenCloudStreamFailed(ConnectionError),
GetServerAddressFailed,
ConnectDirectToCloud,
ParseTopicNameError,
ReservedNamespaceError,
IoError(Error),
OpenStream(u32, String),
}
Variants§
Quic(QuicError)
Crypto(CryptoError)
Log(LogError)
Topic(TopicError)
ParseEndpointAddress(ParseEndpointAddressError)
ParseRemoteAddress(ParseRemoteAddressError)
ParseCertificateHost(ParseCertificateHostError)
ParseDurationMillis
Codec(CodecError)
Protocol(ProtocolError)
RequestFailed
RequestHandlerFailure(String)
RequestTimeout
OpenCloudStreamFailed(ConnectionError)
GetServerAddressFailed
ConnectDirectToCloud
ParseTopicNameError
ReservedNamespaceError
IoError(Error)
OpenStream(u32, String)
Trait Implementations§
Source§impl Debug for SeliumError
impl Debug for SeliumError
Source§impl Display for SeliumError
impl Display for SeliumError
Source§impl Error for SeliumError
impl Error for SeliumError
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<CodecError> for SeliumError
impl From<CodecError> for SeliumError
Source§fn from(source: CodecError) -> Self
fn from(source: CodecError) -> Self
Converts to this type from the input type.
Source§impl From<CryptoError> for SeliumError
impl From<CryptoError> for SeliumError
Source§fn from(source: CryptoError) -> Self
fn from(source: CryptoError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for SeliumError
impl From<Error> for SeliumError
Source§impl From<LogError> for SeliumError
impl From<LogError> for SeliumError
Source§impl From<ParseCertificateHostError> for SeliumError
impl From<ParseCertificateHostError> for SeliumError
Source§fn from(source: ParseCertificateHostError) -> Self
fn from(source: ParseCertificateHostError) -> Self
Converts to this type from the input type.
Source§impl From<ParseEndpointAddressError> for SeliumError
impl From<ParseEndpointAddressError> for SeliumError
Source§fn from(source: ParseEndpointAddressError) -> Self
fn from(source: ParseEndpointAddressError) -> Self
Converts to this type from the input type.
Source§impl From<ParseRemoteAddressError> for SeliumError
impl From<ParseRemoteAddressError> for SeliumError
Source§fn from(source: ParseRemoteAddressError) -> Self
fn from(source: ParseRemoteAddressError) -> Self
Converts to this type from the input type.
Source§impl From<ProtocolError> for SeliumError
impl From<ProtocolError> for SeliumError
Source§fn from(source: ProtocolError) -> Self
fn from(source: ProtocolError) -> Self
Converts to this type from the input type.
Source§impl From<QuicError> for SeliumError
impl From<QuicError> for SeliumError
Source§impl From<TopicError> for SeliumError
impl From<TopicError> for SeliumError
Source§fn from(source: TopicError) -> Self
fn from(source: TopicError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for SeliumError
impl !RefUnwindSafe for SeliumError
impl Send for SeliumError
impl Sync for SeliumError
impl Unpin for SeliumError
impl !UnwindSafe for SeliumError
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