pub struct ConsumerCapabilityError { /* private fields */ }Expand description
A consumer-capability declaration was empty, contained whitespace or non-printable/non-ASCII bytes, or exceeded 64 bytes.
Implementations§
Source§impl ConsumerCapabilityError
impl ConsumerCapabilityError
Sourcepub fn capability(&self) -> &str
pub fn capability(&self) -> &str
The invalid declaration value.
Trait Implementations§
Source§impl Clone for ConsumerCapabilityError
impl Clone for ConsumerCapabilityError
Source§impl Debug for ConsumerCapabilityError
impl Debug for ConsumerCapabilityError
Source§impl Display for ConsumerCapabilityError
impl Display for ConsumerCapabilityError
impl Eq for ConsumerCapabilityError
Source§impl Error for ConsumerCapabilityError
impl Error for ConsumerCapabilityError
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 ConsumerCapabilityError
impl PartialEq for ConsumerCapabilityError
impl StructuralPartialEq for ConsumerCapabilityError
Auto Trait Implementations§
impl Forget for ConsumerCapabilityError
impl Freeze for ConsumerCapabilityError
impl Move for ConsumerCapabilityError
impl RefUnwindSafe for ConsumerCapabilityError
impl Send for ConsumerCapabilityError
impl Sync for ConsumerCapabilityError
impl Unpin for ConsumerCapabilityError
impl UnsafeUnpin for ConsumerCapabilityError
impl UnwindSafe for ConsumerCapabilityError
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