pub struct RemoteUnwatch {
pub target: ActorId,
pub watcher: ActorId,
}Expand description
Message: remove a remote watch.
Fields§
§target: ActorId§watcher: ActorIdTrait Implementations§
Source§impl Handler<RemoteUnwatch> for WatchManagerActor
impl Handler<RemoteUnwatch> for WatchManagerActor
fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut self,
msg: RemoteUnwatch,
_ctx: &'life1 mut ActorContext,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl Message for RemoteUnwatch
impl Message for RemoteUnwatch
type Result = ()
fn into_envelope( self, envelope_type: EnvelopeType, ) -> Result<Envelope<Self>, MessageWrapErr>
fn as_bytes(&self) -> Result<Vec<u8>, MessageWrapErr>
fn from_envelope(envelope: Envelope<Self>) -> Result<Self, MessageUnwrapErr>
fn from_bytes(_: Vec<u8>) -> Result<Self, MessageUnwrapErr>
fn read_remote_result(_: Vec<u8>) -> Result<Self::Result, MessageUnwrapErr>
fn write_remote_result(_res: Self::Result) -> Result<Vec<u8>, MessageWrapErr>
fn name(&self) -> &'static str
fn type_name() -> &'static strwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for RemoteUnwatch
impl RefUnwindSafe for RemoteUnwatch
impl Send for RemoteUnwatch
impl Sync for RemoteUnwatch
impl Unpin for RemoteUnwatch
impl UnsafeUnpin for RemoteUnwatch
impl UnwindSafe for RemoteUnwatch
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