pub enum Fetcher<AO, Ctx> {
Async(Arc<dyn Fn(AO, Ctx) -> Pin<Box<dyn Future<Output = Result<List, Box<dyn Error>>> + Send + 'static>> + Send + Sync>),
}Variants§
Async(Arc<dyn Fn(AO, Ctx) -> Pin<Box<dyn Future<Output = Result<List, Box<dyn Error>>> + Send + 'static>> + Send + Sync>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<AO, Ctx> !RefUnwindSafe for Fetcher<AO, Ctx>
impl<AO, Ctx> !UnwindSafe for Fetcher<AO, Ctx>
impl<AO, Ctx> Freeze for Fetcher<AO, Ctx>
impl<AO, Ctx> Send for Fetcher<AO, Ctx>
impl<AO, Ctx> Sync for Fetcher<AO, Ctx>
impl<AO, Ctx> Unpin for Fetcher<AO, Ctx>
impl<AO, Ctx> UnsafeUnpin for Fetcher<AO, Ctx>
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