pub enum CatalogCompileError {
UnsupportedSchema(u32),
InvalidVersion,
DuplicateAsset(AssetId),
UnknownAsset {
instrument: InstrumentId,
asset: AssetId,
},
OverlappingInterval {
instrument: InstrumentId,
left: EffectiveInterval,
right: EffectiveInterval,
},
InvalidSpec(SpecValidationError),
}Expand description
Catalog compilation failures.
Variants§
UnsupportedSchema(u32)
InvalidVersion
DuplicateAsset(AssetId)
UnknownAsset
OverlappingInterval
InvalidSpec(SpecValidationError)
Trait Implementations§
Source§impl Debug for CatalogCompileError
impl Debug for CatalogCompileError
Source§impl Display for CatalogCompileError
impl Display for CatalogCompileError
Source§impl Error for CatalogCompileError
impl Error for CatalogCompileError
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<SpecValidationError> for CatalogCompileError
impl From<SpecValidationError> for CatalogCompileError
Source§fn from(source: SpecValidationError) -> Self
fn from(source: SpecValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CatalogCompileError
impl RefUnwindSafe for CatalogCompileError
impl Send for CatalogCompileError
impl Sync for CatalogCompileError
impl Unpin for CatalogCompileError
impl UnsafeUnpin for CatalogCompileError
impl UnwindSafe for CatalogCompileError
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