pub enum BacktestClientError {
Service(String),
Transport(TransportFailure),
Protocol(BacktestServiceProtocolError),
}Variants§
Trait Implementations§
Source§impl Clone for BacktestClientError
impl Clone for BacktestClientError
Source§impl Debug for BacktestClientError
impl Debug for BacktestClientError
Source§impl Display for BacktestClientError
impl Display for BacktestClientError
Source§impl Error for BacktestClientError
impl Error for BacktestClientError
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<BacktestServiceProtocolError> for BacktestClientError
impl From<BacktestServiceProtocolError> for BacktestClientError
Source§fn from(source: BacktestServiceProtocolError) -> Self
fn from(source: BacktestServiceProtocolError) -> Self
Converts to this type from the input type.
Source§impl From<TransportFailure> for BacktestClientError
impl From<TransportFailure> for BacktestClientError
Source§fn from(source: TransportFailure) -> Self
fn from(source: TransportFailure) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BacktestClientError
impl RefUnwindSafe for BacktestClientError
impl Send for BacktestClientError
impl Sync for BacktestClientError
impl Unpin for BacktestClientError
impl UnsafeUnpin for BacktestClientError
impl UnwindSafe for BacktestClientError
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