pub struct Connected<D: Disposable>(/* private fields */);Expand description
State carried by a connected controller. Dropping it disconnects the source.
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for Connected<D>where
BoundDropDisposal<D>: Freeze,
impl<D> RefUnwindSafe for Connected<D>where
BoundDropDisposal<D>: RefUnwindSafe,
impl<D> Send for Connected<D>where
BoundDropDisposal<D>: Send,
impl<D> Sync for Connected<D>where
BoundDropDisposal<D>: Sync,
impl<D> Unpin for Connected<D>where
BoundDropDisposal<D>: Unpin,
impl<D> UnsafeUnpin for Connected<D>where
BoundDropDisposal<D>: UnsafeUnpin,
impl<D> UnwindSafe for Connected<D>where
BoundDropDisposal<D>: 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