pub struct AdaptOutlet<T: SessionTrait>where
AdaptOutlet<T>: AdaptOutletTrait,{ /* private fields */ }
Implementations§
Source§impl<T, Callback> AdaptOutlet<T>
impl<T, Callback> AdaptOutlet<T>
pub fn with_timeout(self, timeout: i64) -> Self
Trait Implementations§
Source§impl AdaptOutletTrait for AdaptOutlet<Session>
impl AdaptOutletTrait for AdaptOutlet<Session>
type CallbackType = Box<dyn FnOnce(AdapterArgs) -> Result<Value, AvesterraError> + Send>
Source§impl AdaptOutletTrait for AdaptOutlet<SessionAsync>
impl AdaptOutletTrait for AdaptOutlet<SessionAsync>
type CallbackType = Box<dyn FnOnce(AdapterArgs) -> Pin<Box<dyn Future<Output = Result<Value, AvesterraError>> + Send>> + Send>
Source§impl IntoFuture for AdaptOutlet<SessionAsync>
impl IntoFuture for AdaptOutlet<SessionAsync>
Source§type IntoFuture = Pin<Box<dyn Future<Output = Result<(), CallError>> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<(), CallError>> + Send>>
Which kind of future are we turning this into?
Source§type Output = <<AdaptOutlet<SessionAsync> as IntoFuture>::IntoFuture as Future>::Output
type Output = <<AdaptOutlet<SessionAsync> as IntoFuture>::IntoFuture as Future>::Output
The output that the future will produce on completion.
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<T> !Freeze for AdaptOutlet<T>
impl<T> !RefUnwindSafe for AdaptOutlet<T>
impl<T> !Send for AdaptOutlet<T>
impl<T> !Sync for AdaptOutlet<T>
impl<T> !Unpin for AdaptOutlet<T>
impl<T> !UnwindSafe for AdaptOutlet<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