pub struct SourcehutFetcher { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Fetcher for SourcehutFetcher
impl Fetcher for SourcehutFetcher
fn get_authenticated_user<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_user_data<'life0, 'life1, 'async_trait>(
&'life0 self,
username: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_user_stats<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
_user_data: Option<&'life2 Value>,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for SourcehutFetcher
impl !RefUnwindSafe for SourcehutFetcher
impl Send for SourcehutFetcher
impl Sync for SourcehutFetcher
impl Unpin for SourcehutFetcher
impl !UnwindSafe for SourcehutFetcher
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