pub struct HttpEternaltwinClient<TyClock> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<TyClock> EtwinClient for HttpEternaltwinClient<TyClock>where
TyClock: Clock,
impl<TyClock> EtwinClient for HttpEternaltwinClient<TyClock>where
TyClock: Clock,
fn get_self<'life0, 'life1, 'async_trait>(
&'life0 self,
auth: &'life1 EtwinAuth,
) -> Pin<Box<dyn Future<Output = Result<AuthContext, AnyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_user<'life0, 'life1, 'async_trait>(
&'life0 self,
auth: &'life1 EtwinAuth,
user_id: UserId,
) -> Pin<Box<dyn Future<Output = Result<ShortUser, AnyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl<TyClock> Freeze for HttpEternaltwinClient<TyClock>where
TyClock: Freeze,
impl<TyClock> !RefUnwindSafe for HttpEternaltwinClient<TyClock>
impl<TyClock> Send for HttpEternaltwinClient<TyClock>where
TyClock: Send,
impl<TyClock> Sync for HttpEternaltwinClient<TyClock>where
TyClock: Sync,
impl<TyClock> Unpin for HttpEternaltwinClient<TyClock>where
TyClock: Unpin,
impl<TyClock> !UnwindSafe for HttpEternaltwinClient<TyClock>
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