pub struct JsrSource { /* private fields */ }Expand description
A version source backed by JSR (jsr.io).
Implementations§
Trait Implementations§
Source§impl VersionSource for JsrSource
impl VersionSource for JsrSource
Source§fn fetch_latest<'life0, 'async_trait>(
&'life0 self,
_options: FetchOptions,
) -> Pin<Box<dyn Future<Output = VersionSourceResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_latest<'life0, 'async_trait>(
&'life0 self,
_options: FetchOptions,
) -> Pin<Box<dyn Future<Output = VersionSourceResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetch the latest version from this source.
Source§fn fetch_versions<'life0, 'async_trait>(
&'life0 self,
_options: FetchVersionsOptions,
) -> Pin<Box<dyn Future<Output = Result<VersionListResult, UpdateKitError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_versions<'life0, 'async_trait>(
&'life0 self,
_options: FetchVersionsOptions,
) -> Pin<Box<dyn Future<Output = Result<VersionListResult, UpdateKitError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetch a paginated list of versions. Not all sources support this.
Auto Trait Implementations§
impl Freeze for JsrSource
impl RefUnwindSafe for JsrSource
impl Send for JsrSource
impl Sync for JsrSource
impl Unpin for JsrSource
impl UnsafeUnpin for JsrSource
impl UnwindSafe for JsrSource
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