pub enum BinaryOptionsToolsError {
Show 18 variants
PocketOptionError(PocketOptionError),
WebsocketMessageSendingError(String),
WebsocketRecievingConnectionError(String),
WebsocketConnectionClosed(String),
WebsocketConnectionError(Error),
MessageSendingError(SendError<Message>),
OneShotRecieverError(RecvError),
ChannelRequestRecievingError(RecvError),
ChannelRequestSendingError(String),
ThreadMessageSendingErrorMPCS(String),
WebSocketMessageError(String),
GeneralParsingError(String),
TLSError(Error),
HTTPError(Error),
Unallowed(String),
TaskJoinError(JoinError),
TimeoutError {
task: String,
duration: Duration,
},
ChronoDurationParsingError(OutOfRangeError),
}Variants§
PocketOptionError(PocketOptionError)
WebsocketMessageSendingError(String)
WebsocketRecievingConnectionError(String)
WebsocketConnectionClosed(String)
WebsocketConnectionError(Error)
MessageSendingError(SendError<Message>)
OneShotRecieverError(RecvError)
ChannelRequestRecievingError(RecvError)
ChannelRequestSendingError(String)
ThreadMessageSendingErrorMPCS(String)
WebSocketMessageError(String)
GeneralParsingError(String)
TLSError(Error)
HTTPError(Error)
Unallowed(String)
TaskJoinError(JoinError)
TimeoutError
ChronoDurationParsingError(OutOfRangeError)
Trait Implementations§
Source§impl Debug for BinaryOptionsToolsError
impl Debug for BinaryOptionsToolsError
Source§impl Display for BinaryOptionsToolsError
impl Display for BinaryOptionsToolsError
Source§impl Error for BinaryOptionsToolsError
impl Error for BinaryOptionsToolsError
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 BinaryOptionsToolsError
impl From<Error> for BinaryOptionsToolsError
Source§fn from(source: TungsteniteError) -> Self
fn from(source: TungsteniteError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for BinaryOptionsToolsError
impl From<Error> for BinaryOptionsToolsError
Source§impl From<Error> for BinaryOptionsToolsError
impl From<Error> for BinaryOptionsToolsError
Source§impl From<JoinError> for BinaryOptionsToolsError
impl From<JoinError> for BinaryOptionsToolsError
Source§impl From<OutOfRangeError> for BinaryOptionsToolsError
impl From<OutOfRangeError> for BinaryOptionsToolsError
Source§fn from(source: OutOfRangeError) -> Self
fn from(source: OutOfRangeError) -> Self
Converts to this type from the input type.
Source§impl From<PocketOptionError> for BinaryOptionsToolsError
impl From<PocketOptionError> for BinaryOptionsToolsError
Source§fn from(source: PocketOptionError) -> Self
fn from(source: PocketOptionError) -> Self
Converts to this type from the input type.
Source§impl From<RecvError> for BinaryOptionsToolsError
impl From<RecvError> for BinaryOptionsToolsError
Source§impl From<RecvError> for BinaryOptionsToolsError
impl From<RecvError> for BinaryOptionsToolsError
Source§impl<Transfer> From<Transfer> for BinaryOptionsToolsErrorwhere
Transfer: MessageTransfer,
impl<Transfer> From<Transfer> for BinaryOptionsToolsErrorwhere
Transfer: MessageTransfer,
Auto Trait Implementations§
impl !Freeze for BinaryOptionsToolsError
impl !RefUnwindSafe for BinaryOptionsToolsError
impl !UnwindSafe for BinaryOptionsToolsError
impl Send for BinaryOptionsToolsError
impl Sync for BinaryOptionsToolsError
impl Unpin for BinaryOptionsToolsError
impl UnsafeUnpin for BinaryOptionsToolsError
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