pub struct ClusterSingletonProxy {
pub manager: Arc<ClusterSingletonManager>,
}Expand description
Proxy that routes messages to the current singleton, buffering during handover.
Fields§
§manager: Arc<ClusterSingletonManager>Implementations§
Source§impl ClusterSingletonProxy
impl ClusterSingletonProxy
pub fn new(manager: Arc<ClusterSingletonManager>) -> Self
pub fn singleton(&self) -> Option<UntypedActorRef>
Auto Trait Implementations§
impl Freeze for ClusterSingletonProxy
impl !RefUnwindSafe for ClusterSingletonProxy
impl Send for ClusterSingletonProxy
impl Sync for ClusterSingletonProxy
impl Unpin for ClusterSingletonProxy
impl UnsafeUnpin for ClusterSingletonProxy
impl !UnwindSafe for ClusterSingletonProxy
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