pub struct RemoteClientRef { /* private fields */ }Implementations§
Source§impl RemoteClientRef
impl RemoteClientRef
pub async fn identify(&self) -> Result<Option<NodeIdentity>, ActorRefErr>
pub async fn handshake( &self, request_id: Uuid, seed_nodes: Vec<RemoteNode>, ) -> Result<(), ActorRefErr>
Trait Implementations§
Source§impl From<LocalActorRef<RemoteClient>> for RemoteClientRef
impl From<LocalActorRef<RemoteClient>> for RemoteClientRef
Source§fn from(client: LocalActorRef<RemoteClient>) -> Self
fn from(client: LocalActorRef<RemoteClient>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RemoteClientRef
impl RefUnwindSafe for RemoteClientRef
impl Send for RemoteClientRef
impl Sync for RemoteClientRef
impl Unpin for RemoteClientRef
impl UnsafeUnpin for RemoteClientRef
impl UnwindSafe for RemoteClientRef
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