pub enum StepError {
Unsupported(String),
Io(Error),
}Expand description
Failure returned while streaming STEP output.
Unsupported or reduced IR content appears in ExportReport::losses after a
successful write.
Variants§
Unsupported(String)
Strict writing found semantics that would be reduced or omitted.
Io(Error)
The output sink rejected a write.
Trait Implementations§
Source§impl Error for StepError
impl Error for StepError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for StepError
impl !UnwindSafe for StepError
impl Freeze for StepError
impl Send for StepError
impl Sync for StepError
impl Unpin for StepError
impl UnsafeUnpin for StepError
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