pub struct ProviderChannel<P, C>{ /* private fields */ }Expand description
The channel resulting from a call to connect_to_required
Trait Implementations§
Source§impl<P, C> Channel for ProviderChannel<P, C>
impl<P, C> Channel for ProviderChannel<P, C>
Source§fn disconnect_by_ref(&self) -> Result<(), TryLockError>
fn disconnect_by_ref(&self) -> Result<(), TryLockError>
Disconnects this channel without consuming it Read more
Source§fn disconnect(self) -> Result<(), DisconnectError<Self>>where
Self: Sized,
fn disconnect(self) -> Result<(), DisconnectError<Self>>where
Self: Sized,
Disconnects this channel Read more
Auto Trait Implementations§
impl<P, C> Freeze for ProviderChannel<P, C>
impl<P, C> !RefUnwindSafe for ProviderChannel<P, C>
impl<P, C> Send for ProviderChannel<P, C>
impl<P, C> Sync for ProviderChannel<P, C>
impl<P, C> Unpin for ProviderChannel<P, C>
impl<P, C> UnsafeUnpin for ProviderChannel<P, C>
impl<P, C> !UnwindSafe for ProviderChannel<P, C>
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