pub struct AddTargetError<T> {
pub key: IoTargetKey,
pub target: T,
}Expand description
A refused add_target: a target is already present under key. The target, of the
implementation’s type, is handed back.
Fields§
§key: IoTargetKeyThe key already in use.
target: TThe consumer’s target.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for AddTargetError<T>where
T: Freeze,
impl<T> RefUnwindSafe for AddTargetError<T>where
T: RefUnwindSafe,
impl<T> Send for AddTargetError<T>where
T: Send,
impl<T> Sync for AddTargetError<T>where
T: Sync,
impl<T> Unpin for AddTargetError<T>where
T: Unpin,
impl<T> UnsafeUnpin for AddTargetError<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for AddTargetError<T>where
T: UnwindSafe,
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