pub enum VizError {
InvalidGeometry(String),
InvalidStyle(String),
InvalidCamera(String),
InvalidLayer(String),
InvalidTransfer(String),
}Expand description
Errors returned when visualization input violates a public contract.
Variants§
InvalidGeometry(String)
A slice length or indexed geometry shape is invalid.
InvalidStyle(String)
A style value is non-finite or outside its accepted range.
InvalidCamera(String)
A camera projection or view is invalid.
InvalidLayer(String)
A layer identifier is empty or already present.
InvalidTransfer(String)
A transfer event is incomplete or invalid.
Trait Implementations§
Source§impl Error for VizError
impl Error for VizError
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 Eq for VizError
impl StructuralPartialEq for VizError
Auto Trait Implementations§
impl Freeze for VizError
impl RefUnwindSafe for VizError
impl Send for VizError
impl Sync for VizError
impl Unpin for VizError
impl UnsafeUnpin for VizError
impl UnwindSafe for VizError
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