pub struct WeakActorRef<Msg, Command = Infallible> { /* private fields */ }Implementations§
Source§impl<Msg, Command> WeakActorRef<Msg, Command>
impl<Msg, Command> WeakActorRef<Msg, Command>
pub fn upgrade(&self) -> Option<ActorRef<Msg, Command>>
pub fn strong_count(&self) -> usize
pub fn weak_count(&self) -> usize
Auto Trait Implementations§
impl<Msg, Command> Freeze for WeakActorRef<Msg, Command>
impl<Msg, Command> RefUnwindSafe for WeakActorRef<Msg, Command>
impl<Msg, Command> Send for WeakActorRef<Msg, Command>
impl<Msg, Command> Sync for WeakActorRef<Msg, Command>
impl<Msg, Command> Unpin for WeakActorRef<Msg, Command>
impl<Msg, Command> UnwindSafe for WeakActorRef<Msg, Command>
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