pub struct BrewSource { /* private fields */ }Expand description
A version source backed by Homebrew (brew info –json).
Implementations§
Trait Implementations§
Source§impl VersionSource for BrewSource
impl VersionSource for BrewSource
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 BrewSource
impl !RefUnwindSafe for BrewSource
impl Send for BrewSource
impl Sync for BrewSource
impl Unpin for BrewSource
impl UnsafeUnpin for BrewSource
impl !UnwindSafe for BrewSource
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