pub enum RegisterResourceErrorKind {
UnsupportedResourceKind,
Other,
Unimplemented,
NotActive,
}Variants§
UnsupportedResourceKind
The RenderContext you tried to register the resource with does not support the kind of resource
Other
Some other kind of error occured
Unimplemented
This backend has not implemented resource registration
NotActive
The RenderContext you tried to register the resource is not currently active
Trait Implementations§
Source§impl Clone for RegisterResourceErrorKind
impl Clone for RegisterResourceErrorKind
Source§fn clone(&self) -> RegisterResourceErrorKind
fn clone(&self) -> RegisterResourceErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RegisterResourceErrorKind
Source§impl Debug for RegisterResourceErrorKind
impl Debug for RegisterResourceErrorKind
impl Eq for RegisterResourceErrorKind
Source§impl From<RegisterResourceErrorKind> for RegisterResourceError
impl From<RegisterResourceErrorKind> for RegisterResourceError
Source§fn from(kind: RegisterResourceErrorKind) -> Self
fn from(kind: RegisterResourceErrorKind) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for RegisterResourceErrorKind
Auto Trait Implementations§
impl Freeze for RegisterResourceErrorKind
impl RefUnwindSafe for RegisterResourceErrorKind
impl Send for RegisterResourceErrorKind
impl Sync for RegisterResourceErrorKind
impl Unpin for RegisterResourceErrorKind
impl UnsafeUnpin for RegisterResourceErrorKind
impl UnwindSafe for RegisterResourceErrorKind
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