pub struct WeakRecipient<M>{ /* private fields */ }
Expand description
A weakly referenced counterpart to Recipient<M>
Implementations§
Trait Implementations§
Source§impl<M> Clone for WeakRecipient<M>
impl<M> Clone for WeakRecipient<M>
Source§impl<M> Debug for WeakRecipient<M>
impl<M> Debug for WeakRecipient<M>
Source§impl<A, M: Message + Send + 'static> From<Addr<A>> for WeakRecipient<M>
impl<A, M: Message + Send + 'static> From<Addr<A>> for WeakRecipient<M>
Source§fn from(addr: Addr<A>) -> WeakRecipient<M>
fn from(addr: Addr<A>) -> WeakRecipient<M>
Converts to this type from the input type.
Source§impl<M> From<Recipient<M>> for WeakRecipient<M>
impl<M> From<Recipient<M>> for WeakRecipient<M>
Auto Trait Implementations§
impl<M> Freeze for WeakRecipient<M>
impl<M> !RefUnwindSafe for WeakRecipient<M>
impl<M> Send for WeakRecipient<M>
impl<M> Sync for WeakRecipient<M>
impl<M> Unpin for WeakRecipient<M>
impl<M> !UnwindSafe for WeakRecipient<M>
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