pub struct SubscribeToPath {
pub path: Path,
pub direct_id: ClientReqId,
pub sender: ClientSender,
}Fields§
§path: Path§direct_id: ClientReqId§sender: ClientSenderTrait Implementations§
Source§impl Interaction for SubscribeToPath
impl Interaction for SubscribeToPath
Source§type Output = SubscriptionLink
type Output = SubscriptionLink
The result of the
Interaction that will be returned by InteractionHandler.Source§impl InteractionHandler<SubscribeToPath> for ProviderSession
impl InteractionHandler<SubscribeToPath> for ProviderSession
Source§fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut self,
msg: SubscribeToPath,
ctx: &'life1 mut Context<Self>,
) -> Pin<Box<dyn Future<Output = Result<SubscriptionLink, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut self,
msg: SubscribeToPath,
ctx: &'life1 mut Context<Self>,
) -> Pin<Box<dyn Future<Output = Result<SubscriptionLink, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Asyncronous method that receives incoming message.
Auto Trait Implementations§
impl Freeze for SubscribeToPath
impl !RefUnwindSafe for SubscribeToPath
impl Send for SubscribeToPath
impl Sync for SubscribeToPath
impl Unpin for SubscribeToPath
impl UnsafeUnpin for SubscribeToPath
impl !UnwindSafe for SubscribeToPath
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