pub enum AdapterRegistryError {
Duplicate {
family: AdapterFamily,
adapter_id: AdapterId,
},
MissingAgents {
family: AdapterFamily,
adapter_id: AdapterId,
},
InvalidBinding {
family: AdapterFamily,
adapter_id: AdapterId,
message: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for AdapterRegistryError
impl Clone for AdapterRegistryError
Source§impl Debug for AdapterRegistryError
impl Debug for AdapterRegistryError
Source§impl Display for AdapterRegistryError
impl Display for AdapterRegistryError
impl Eq for AdapterRegistryError
Source§impl Error for AdapterRegistryError
impl Error for AdapterRegistryError
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 AdapterRegistryError
impl PartialEq for AdapterRegistryError
impl StructuralPartialEq for AdapterRegistryError
Auto Trait Implementations§
impl Freeze for AdapterRegistryError
impl RefUnwindSafe for AdapterRegistryError
impl Send for AdapterRegistryError
impl Sync for AdapterRegistryError
impl Unpin for AdapterRegistryError
impl UnsafeUnpin for AdapterRegistryError
impl UnwindSafe for AdapterRegistryError
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