pub enum ZelloError {
}Expand description
Error types that can occur when using the Zello client
Variants§
ConnectionError(String)
WebSocket connection error
AuthenticationError(String)
Authentication failed
ProtocolError(String)
Invalid message format or protocol error
Other(Box<dyn Error + Send + Sync>)
Other error
IoError(Error)
Network I/O error
JsonError(Error)
JSON serialization/deserialization error
WebSocketError(Box<Error>)
WebSocket error (boxed to reduce size)
AudioError(String)
Audio codec error
NotConnected
Client not connected
ConfigError(String)
Invalid configuration
Timeout
Operation timeout
ChannelError(String)
Channel error
Unknown(String)
Unknown or unexpected error
Trait Implementations§
Source§impl Debug for ZelloError
impl Debug for ZelloError
Source§impl Display for ZelloError
impl Display for ZelloError
Source§impl Error for ZelloError
impl Error for ZelloError
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 ZelloError
impl From<Error> for ZelloError
Source§impl From<Error> for ZelloError
impl From<Error> for ZelloError
Auto Trait Implementations§
impl Freeze for ZelloError
impl !RefUnwindSafe for ZelloError
impl Send for ZelloError
impl Sync for ZelloError
impl Unpin for ZelloError
impl !UnwindSafe for ZelloError
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