Enum vegas_lattice::error::LatticeError
source · pub enum LatticeError {
IoError(Error),
JsonParseError(Error),
ImageReadError(ImageError),
InconsistentVertices,
NegativeSize,
}
Expand description
Error type for the lattice crate
Variants§
Trait Implementations§
source§impl Debug for LatticeError
impl Debug for LatticeError
source§impl Display for LatticeError
impl Display for LatticeError
source§impl Error for LatticeError
impl Error for LatticeError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn StdError>
fn cause(&self) -> Option<&dyn StdError>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl From<Error> for LatticeError
impl From<Error> for LatticeError
source§impl From<Error> for LatticeError
impl From<Error> for LatticeError
source§fn from(err: SerdeError) -> Self
fn from(err: SerdeError) -> Self
Converts to this type from the input type.
source§impl From<ImageError> for LatticeError
impl From<ImageError> for LatticeError
source§fn from(err: ImageError) -> Self
fn from(err: ImageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for LatticeError
impl Send for LatticeError
impl Sync for LatticeError
impl Unpin for LatticeError
impl !UnwindSafe for LatticeError
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