pub enum SpotflowError {
EventloopError(ConnectionError),
CborSerializationError,
SendError,
}Variants§
Trait Implementations§
Source§impl Debug for SpotflowError
impl Debug for SpotflowError
Source§impl Display for SpotflowError
impl Display for SpotflowError
Source§impl Error for SpotflowError
impl Error for SpotflowError
1.30.0 · 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<ClientError> for SpotflowError
impl From<ClientError> for SpotflowError
Source§fn from(_value: ClientError) -> Self
fn from(_value: ClientError) -> Self
Converts to this type from the input type.
Source§impl From<ConnectionError> for SpotflowError
impl From<ConnectionError> for SpotflowError
Source§fn from(value: ConnectionError) -> Self
fn from(value: ConnectionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SpotflowError
impl !RefUnwindSafe for SpotflowError
impl Send for SpotflowError
impl Sync for SpotflowError
impl Unpin for SpotflowError
impl !UnwindSafe for SpotflowError
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