pub enum SetError {
Field(GrassError),
Hal(HalError),
}Expand description
Why a field could not be made resident: its own description, or the seam.
Variants§
Field(GrassError)
The description itself.
Hal(HalError)
A buffer, an image or a copy the seam refused.
Trait Implementations§
Source§impl Error for SetError
impl Error for SetError
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<GrassError> for SetError
impl From<GrassError> for SetError
Source§fn from(source: GrassError) -> Self
fn from(source: GrassError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SetError
impl RefUnwindSafe for SetError
impl Send for SetError
impl Sync for SetError
impl Unpin for SetError
impl UnsafeUnpin for SetError
impl UnwindSafe for SetError
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