#[non_exhaustive]pub enum ScheduleReadError {
MultipleSchemas {
schemas: usize,
},
UnsupportedSchema {
schema: String,
},
Cycle(SequenceCycle),
SequenceDepthExceeded {
start: EntityId,
limit: usize,
},
}Expand description
Why a schedule read could not answer (#212).
The readers bind the release the model’s header declares and find every attribute by name in its table. A header they cannot bind is refused, never read through another release’s positions.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MultipleSchemas
The header declares several schemas; a read binds to exactly one.
UnsupportedSchema
The header declares one schema the readers are not verified against (anything but IFC2X3, IFC4 and IFC4X3, so IFC4X1 and IFC4X2 too).
Cycle(SequenceCycle)
The sequence graph loops, so no ordering or downstream walk exists.
SequenceDepthExceeded
A sequence walk from start reached a chain longer than limit
processes (MAX_SEQUENCE_DEPTH)
and stopped (#236). The walk is refused rather than returned
truncated, so a partial answer never reads as a complete one.
Trait Implementations§
Source§impl Clone for ScheduleReadError
impl Clone for ScheduleReadError
Source§fn clone(&self) -> ScheduleReadError
fn clone(&self) -> ScheduleReadError
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 ScheduleReadError
impl Debug for ScheduleReadError
Source§impl Display for ScheduleReadError
impl Display for ScheduleReadError
impl Eq for ScheduleReadError
Source§impl Error for ScheduleReadError
impl Error for ScheduleReadError
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()
Source§impl From<SequenceCycle> for ScheduleReadError
impl From<SequenceCycle> for ScheduleReadError
Source§fn from(cycle: SequenceCycle) -> Self
fn from(cycle: SequenceCycle) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScheduleReadError
impl PartialEq for ScheduleReadError
impl StructuralPartialEq for ScheduleReadError
Auto Trait Implementations§
impl Freeze for ScheduleReadError
impl RefUnwindSafe for ScheduleReadError
impl Send for ScheduleReadError
impl Sync for ScheduleReadError
impl Unpin for ScheduleReadError
impl UnsafeUnpin for ScheduleReadError
impl UnwindSafe for ScheduleReadError
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