pub enum SignalClientError {
MissingProgramFilter,
ConnectTimeout(Duration),
NoResolvedAddresses(String),
StreamClosed,
Io(Error),
FrameTooLarge {
len: usize,
max: usize,
},
EmptyFrame,
UnexpectedOpcode(u8),
DeserializeTransaction(Error),
Protocol(WireError),
}Variants§
MissingProgramFilter
ConnectTimeout(Duration)
NoResolvedAddresses(String)
StreamClosed
Io(Error)
FrameTooLarge
EmptyFrame
UnexpectedOpcode(u8)
DeserializeTransaction(Error)
Protocol(WireError)
Trait Implementations§
Source§impl Debug for SignalClientError
impl Debug for SignalClientError
Source§impl Display for SignalClientError
impl Display for SignalClientError
Source§impl Error for SignalClientError
impl Error for SignalClientError
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 SignalClientError
impl From<Error> for SignalClientError
Auto Trait Implementations§
impl Freeze for SignalClientError
impl !RefUnwindSafe for SignalClientError
impl Send for SignalClientError
impl Sync for SignalClientError
impl Unpin for SignalClientError
impl UnsafeUnpin for SignalClientError
impl !UnwindSafe for SignalClientError
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