pub struct Sudo<'a, E> { /* private fields */ }
Expand description
Query information about the API calling user.
Trait Implementations§
Auto Trait Implementations§
impl<'a, E> Freeze for Sudo<'a, E>where
E: Freeze,
impl<'a, E> RefUnwindSafe for Sudo<'a, E>where
E: RefUnwindSafe,
impl<'a, E> Send for Sudo<'a, E>where
E: Send,
impl<'a, E> Sync for Sudo<'a, E>where
E: Sync,
impl<'a, E> Unpin for Sudo<'a, E>where
E: Unpin,
impl<'a, E> UnwindSafe for Sudo<'a, E>where
E: UnwindSafe,
Blanket Implementations§
source§impl<E, T, C> AsyncQuery<T, C> for E
impl<E, T, C> AsyncQuery<T, C> for E
source§fn query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<T, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
fn query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<T, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
Perform the query asynchronously against the client.
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