pub struct ResourceTakenError {
pub bus: String,
pub resource: String,
}Expand description
The resource was already taken from the bus
Fields§
§bus: String§resource: StringImplementations§
Trait Implementations§
Source§impl Debug for ResourceTakenError
impl Debug for ResourceTakenError
Source§impl Display for ResourceTakenError
impl Display for ResourceTakenError
Source§impl Error for ResourceTakenError
impl Error for ResourceTakenError
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 ResourceTakenError
impl RefUnwindSafe for ResourceTakenError
impl Send for ResourceTakenError
impl Sync for ResourceTakenError
impl Unpin for ResourceTakenError
impl UnwindSafe for ResourceTakenError
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