pub enum CommsCapabilityError {
Unsupported(String),
}Expand description
Error returned when a comms runtime capability is not available.
Variants§
Trait Implementations§
Source§impl Debug for CommsCapabilityError
impl Debug for CommsCapabilityError
Source§impl Display for CommsCapabilityError
impl Display for CommsCapabilityError
Source§impl Error for CommsCapabilityError
impl Error for CommsCapabilityError
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()
Auto Trait Implementations§
impl Freeze for CommsCapabilityError
impl RefUnwindSafe for CommsCapabilityError
impl Send for CommsCapabilityError
impl Sync for CommsCapabilityError
impl Unpin for CommsCapabilityError
impl UnsafeUnpin for CommsCapabilityError
impl UnwindSafe for CommsCapabilityError
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