pub enum GlowError {
UnknownElementType(u8),
MissingField(String),
InvalidField {
field: String,
details: String,
},
InvalidTree(String),
Unsupported(String),
InvalidPath(String),
TypeMismatch {
expected: String,
actual: String,
},
InvalidMatrixOperation(String),
InvocationFailed(String),
}Expand description
Glow protocol errors.
Variants§
UnknownElementType(u8)
Unknown element type.
MissingField(String)
Missing required field.
InvalidField
Invalid field value.
InvalidTree(String)
Invalid tree structure.
Unsupported(String)
Unsupported feature.
InvalidPath(String)
Invalid path format.
TypeMismatch
Type mismatch.
InvalidMatrixOperation(String)
Invalid matrix operation.
InvocationFailed(String)
Invocation failed.
Implementations§
Trait Implementations§
Source§impl Error for GlowError
impl Error for GlowError
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()
Auto Trait Implementations§
impl Freeze for GlowError
impl RefUnwindSafe for GlowError
impl Send for GlowError
impl Sync for GlowError
impl Unpin for GlowError
impl UnsafeUnpin for GlowError
impl UnwindSafe for GlowError
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