Enum InvalidInstrument
pub enum InvalidInstrument {
InvalidInstrumentId(InvalidInstrumentId),
IdKindMismatch {
expected: String,
got: String,
},
EmptyVenueSymbol,
}Variants§
Trait Implementations§
§impl Clone for InvalidInstrument
impl Clone for InvalidInstrument
§fn clone(&self) -> InvalidInstrument
fn clone(&self) -> InvalidInstrument
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for InvalidInstrument
impl Debug for InvalidInstrument
§impl Display for InvalidInstrument
impl Display for InvalidInstrument
§impl Error for InvalidInstrument
impl Error for InvalidInstrument
§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
§impl From<InvalidInstrumentId> for InvalidInstrument
impl From<InvalidInstrumentId> for InvalidInstrument
§fn from(source: InvalidInstrumentId) -> InvalidInstrument
fn from(source: InvalidInstrumentId) -> InvalidInstrument
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidInstrument
impl RefUnwindSafe for InvalidInstrument
impl Send for InvalidInstrument
impl Sync for InvalidInstrument
impl Unpin for InvalidInstrument
impl UnsafeUnpin for InvalidInstrument
impl UnwindSafe for InvalidInstrument
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)