pub enum InstrumentResolutionError {
Unknown,
Disallowed {
instrument: InstrumentId,
},
Ambiguous {
candidates: Vec<InstrumentId>,
},
Inactive {
instrument: InstrumentId,
intervals: Vec<EffectiveInterval>,
},
}Expand description
Deterministic instrument-resolution failures.
Variants§
Unknown
Disallowed
Fields
§
instrument: InstrumentIdAmbiguous
Fields
§
candidates: Vec<InstrumentId>Inactive
Trait Implementations§
Source§impl Clone for InstrumentResolutionError
impl Clone for InstrumentResolutionError
Source§fn clone(&self) -> InstrumentResolutionError
fn clone(&self) -> InstrumentResolutionError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InstrumentResolutionError
impl Debug for InstrumentResolutionError
Source§impl Display for InstrumentResolutionError
impl Display for InstrumentResolutionError
impl Eq for InstrumentResolutionError
Source§impl Error for InstrumentResolutionError
impl Error for InstrumentResolutionError
1.30.0 · 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()
impl StructuralPartialEq for InstrumentResolutionError
Auto Trait Implementations§
impl Freeze for InstrumentResolutionError
impl RefUnwindSafe for InstrumentResolutionError
impl Send for InstrumentResolutionError
impl Sync for InstrumentResolutionError
impl Unpin for InstrumentResolutionError
impl UnsafeUnpin for InstrumentResolutionError
impl UnwindSafe for InstrumentResolutionError
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