pub struct RetrieveEntity<T: SessionTrait> { /* private fields */ }
Implementations§
Source§impl RetrieveEntity<Session>
impl RetrieveEntity<Session>
pub fn call(self) -> Result<AvialModel, CallError>
Source§impl<T: SessionTrait> RetrieveEntity<T>
impl<T: SessionTrait> RetrieveEntity<T>
pub async fn call_async(self) -> Result<AvialModel, CallError>
Trait Implementations§
Source§impl IntoFuture for RetrieveEntity<SessionAsync>
impl IntoFuture for RetrieveEntity<SessionAsync>
Source§type IntoFuture = Pin<Box<dyn Future<Output = Result<AvialModel, CallError>> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<AvialModel, CallError>> + Send>>
Which kind of future are we turning this into?
Source§type Output = <<RetrieveEntity<SessionAsync> as IntoFuture>::IntoFuture as Future>::Output
type Output = <<RetrieveEntity<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 RetrieveEntity<T>where
T: Freeze,
impl<T> RefUnwindSafe for RetrieveEntity<T>where
T: RefUnwindSafe,
impl<T> Send for RetrieveEntity<T>where
T: Send,
impl<T> Sync for RetrieveEntity<T>where
T: Sync,
impl<T> Unpin for RetrieveEntity<T>where
T: Unpin,
impl<T> UnwindSafe for RetrieveEntity<T>where
T: UnwindSafe,
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