pub enum KernelLayerError {
EmptyRunId,
UnsafeRunId,
RunIdMismatch {
expected: String,
actual: String,
},
CapabilitySurface(CapabilitySurfaceError),
Json(Error),
}Variants§
Trait Implementations§
Source§impl Debug for KernelLayerError
impl Debug for KernelLayerError
Source§impl Display for KernelLayerError
impl Display for KernelLayerError
Source§impl Error for KernelLayerError
impl Error for KernelLayerError
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<CapabilitySurfaceError> for KernelLayerError
impl From<CapabilitySurfaceError> for KernelLayerError
Source§fn from(source: CapabilitySurfaceError) -> KernelLayerError
fn from(source: CapabilitySurfaceError) -> KernelLayerError
Converts to this type from the input type.
Source§impl From<Error> for KernelLayerError
impl From<Error> for KernelLayerError
Source§fn from(source: Error) -> KernelLayerError
fn from(source: Error) -> KernelLayerError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KernelLayerError
impl !RefUnwindSafe for KernelLayerError
impl Send for KernelLayerError
impl Sync for KernelLayerError
impl Unpin for KernelLayerError
impl UnsafeUnpin for KernelLayerError
impl !UnwindSafe for KernelLayerError
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