pub struct BrokerError { /* private fields */ }Expand description
A broker failure, optionally carrying the report accumulated before it.
Implementations§
Source§impl BrokerError
impl BrokerError
pub fn kind(&self) -> &BrokerErrorKind
pub fn report(&self) -> Option<&BrokerReport>
Trait Implementations§
Source§impl Debug for BrokerError
impl Debug for BrokerError
Source§impl Display for BrokerError
impl Display for BrokerError
Source§impl Error for BrokerError
impl Error for BrokerError
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 !RefUnwindSafe for BrokerError
impl !UnwindSafe for BrokerError
impl Freeze for BrokerError
impl Send for BrokerError
impl Sync for BrokerError
impl Unpin for BrokerError
impl UnsafeUnpin for BrokerError
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