pub struct GetClientAssistant<T: Supervisor> {
pub link: ClientLink<T>,
pub session_acl: SessionAcl,
}
Fields§
§link: ClientLink<T>
§session_acl: SessionAcl
Trait Implementations§
Source§impl<T: Supervisor> Interaction for GetClientAssistant<T>
impl<T: Supervisor> Interaction for GetClientAssistant<T>
Source§type Output = <T as Supervisor>::ClientAssistant
type Output = <T as Supervisor>::ClientAssistant
The result of the
Interaction
that will be returned by InteractionHandler
.Source§impl<T: Supervisor> InteractionDone<GetClientAssistant<T>, ()> for ClientSession<T>
impl<T: Supervisor> InteractionDone<GetClientAssistant<T>, ()> for ClientSession<T>
Source§fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_tag: (),
assistant: T::ClientAssistant,
ctx: &'life1 mut Context<Self>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_tag: (),
assistant: T::ClientAssistant,
ctx: &'life1 mut Context<Self>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Handling of the interaction result.
Source§fn failed<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_tag: M,
err: TaskError,
_ctx: &'life1 mut Context<Self>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
fn failed<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_tag: M,
err: TaskError,
_ctx: &'life1 mut Context<Self>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
Called when interaction failed.
Auto Trait Implementations§
impl<T> Freeze for GetClientAssistant<T>
impl<T> !RefUnwindSafe for GetClientAssistant<T>
impl<T> Send for GetClientAssistant<T>
impl<T> Sync for GetClientAssistant<T>
impl<T> Unpin for GetClientAssistant<T>
impl<T> !UnwindSafe for GetClientAssistant<T>
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