#[non_exhaustive]pub enum AlpineSdkError {
Io(String),
Handshake(HandshakeError),
Stream(StreamError),
}Expand description
Errors emitted by the SDK client.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Debug for AlpineSdkError
impl Debug for AlpineSdkError
Source§impl Display for AlpineSdkError
impl Display for AlpineSdkError
Source§impl From<Error> for AlpineSdkError
impl From<Error> for AlpineSdkError
Source§impl From<HandshakeError> for AlpineSdkError
impl From<HandshakeError> for AlpineSdkError
Source§fn from(err: HandshakeError) -> Self
fn from(err: HandshakeError) -> Self
Converts to this type from the input type.
Source§impl From<StreamError> for AlpineSdkError
impl From<StreamError> for AlpineSdkError
Source§fn from(err: StreamError) -> Self
fn from(err: StreamError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AlpineSdkError
impl RefUnwindSafe for AlpineSdkError
impl Send for AlpineSdkError
impl Sync for AlpineSdkError
impl Unpin for AlpineSdkError
impl UnwindSafe for AlpineSdkError
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