pub enum PocketOptionError {
Show 19 variants
BinaryOptionsToolsError(BinaryOptionsToolsError),
SsidParsingError(String),
GeneralParsingError(String),
TLSError(Error),
WebsocketRecievingConnectionError(String),
WebsocketConnectionClosed(String),
WebsocketMultipleAttemptsConnectionError(String),
WebSocketMessageParsingError(Error),
WebSocketMessageProcessingError(Error),
WebSocketMessageByteSerializationError(FromUtf8Error),
ThreadMessageSendingErrorMPCS(SendError<WebSocketMessage>),
OneShotRecieverError(RecvError),
ThreadMessageSendingError(WebSocketMessage),
RequestError(Error),
UnexpectedIncorrectWebSocketMessage(MessageInfo),
UnreachableError(String),
Unallowed(String),
WebsocketMessageSendingError(PocketMessageFail),
EmptyArrayError(String),
}
Variants§
BinaryOptionsToolsError(BinaryOptionsToolsError)
SsidParsingError(String)
GeneralParsingError(String)
TLSError(Error)
WebsocketRecievingConnectionError(String)
WebsocketConnectionClosed(String)
WebsocketMultipleAttemptsConnectionError(String)
WebSocketMessageParsingError(Error)
WebSocketMessageProcessingError(Error)
WebSocketMessageByteSerializationError(FromUtf8Error)
ThreadMessageSendingErrorMPCS(SendError<WebSocketMessage>)
OneShotRecieverError(RecvError)
ThreadMessageSendingError(WebSocketMessage)
RequestError(Error)
UnexpectedIncorrectWebSocketMessage(MessageInfo)
UnreachableError(String)
Unallowed(String)
WebsocketMessageSendingError(PocketMessageFail)
EmptyArrayError(String)
Trait Implementations§
Source§impl Debug for PocketOptionError
impl Debug for PocketOptionError
Source§impl Display for PocketOptionError
impl Display for PocketOptionError
Source§impl Error for PocketOptionError
impl Error for PocketOptionError
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<BinaryOptionsToolsError> for PocketOptionError
impl From<BinaryOptionsToolsError> for PocketOptionError
Source§fn from(source: BinaryOptionsToolsError) -> Self
fn from(source: BinaryOptionsToolsError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for PocketOptionError
impl From<Error> for PocketOptionError
Source§impl From<Error> for PocketOptionError
impl From<Error> for PocketOptionError
Source§impl From<Error> for PocketOptionError
impl From<Error> for PocketOptionError
Source§impl From<Error> for PocketOptionError
impl From<Error> for PocketOptionError
Source§impl From<FromUtf8Error> for PocketOptionError
impl From<FromUtf8Error> for PocketOptionError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<MessageInfo> for PocketOptionError
impl From<MessageInfo> for PocketOptionError
Source§fn from(source: MessageInfo) -> Self
fn from(source: MessageInfo) -> Self
Converts to this type from the input type.
Source§impl From<PocketMessageFail> for PocketOptionError
impl From<PocketMessageFail> for PocketOptionError
Source§fn from(source: PocketMessageFail) -> Self
fn from(source: PocketMessageFail) -> Self
Converts to this type from the input type.
Source§impl From<PocketOptionError> for BinaryOptionsToolsError
impl From<PocketOptionError> for BinaryOptionsToolsError
Source§fn from(value: PocketOptionError) -> Self
fn from(value: PocketOptionError) -> Self
Converts to this type from the input type.
Source§impl From<RecvError> for PocketOptionError
impl From<RecvError> for PocketOptionError
Source§impl From<SendError<WebSocketMessage>> for PocketOptionError
impl From<SendError<WebSocketMessage>> for PocketOptionError
Source§fn from(source: SendError<WebSocketMessage>) -> Self
fn from(source: SendError<WebSocketMessage>) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketMessage> for PocketOptionError
impl From<WebSocketMessage> for PocketOptionError
Source§fn from(source: WebSocketMessage) -> Self
fn from(source: WebSocketMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for PocketOptionError
impl !RefUnwindSafe for PocketOptionError
impl Send for PocketOptionError
impl Sync for PocketOptionError
impl Unpin for PocketOptionError
impl !UnwindSafe for PocketOptionError
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