pub struct ResourceAlreadyExists;Expand description
Error returned when attempting to insert a resource type that is already present in the registry.
Trait Implementations§
Source§impl Clone for ResourceAlreadyExists
impl Clone for ResourceAlreadyExists
Source§fn clone(&self) -> ResourceAlreadyExists
fn clone(&self) -> ResourceAlreadyExists
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 ResourceAlreadyExists
impl Debug for ResourceAlreadyExists
Source§impl Display for ResourceAlreadyExists
impl Display for ResourceAlreadyExists
Source§impl Error for ResourceAlreadyExists
impl Error for ResourceAlreadyExists
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()
Source§impl PartialEq for ResourceAlreadyExists
impl PartialEq for ResourceAlreadyExists
Source§fn eq(&self, other: &ResourceAlreadyExists) -> bool
fn eq(&self, other: &ResourceAlreadyExists) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ResourceAlreadyExists
impl Eq for ResourceAlreadyExists
impl StructuralPartialEq for ResourceAlreadyExists
Auto Trait Implementations§
impl Freeze for ResourceAlreadyExists
impl RefUnwindSafe for ResourceAlreadyExists
impl Send for ResourceAlreadyExists
impl Sync for ResourceAlreadyExists
impl Unpin for ResourceAlreadyExists
impl UnsafeUnpin for ResourceAlreadyExists
impl UnwindSafe for ResourceAlreadyExists
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