pub struct RegisterResourceError {
pub kind: RegisterResourceErrorKind,
pub message: Option<String>,
}Fields§
§kind: RegisterResourceErrorKindThe kind of error that occurred when registering the resource
message: Option<String>An optional detailed error message
Trait Implementations§
Source§impl Clone for RegisterResourceError
impl Clone for RegisterResourceError
Source§fn clone(&self) -> RegisterResourceError
fn clone(&self) -> RegisterResourceError
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 moreSource§impl Debug for RegisterResourceError
impl Debug for RegisterResourceError
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.
Auto Trait Implementations§
impl Freeze for RegisterResourceError
impl RefUnwindSafe for RegisterResourceError
impl Send for RegisterResourceError
impl Sync for RegisterResourceError
impl Unpin for RegisterResourceError
impl UnsafeUnpin for RegisterResourceError
impl UnwindSafe for RegisterResourceError
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