pub enum Upd {
Docker(Docker),
Github(Github),
}Variants§
Trait Implementations§
Source§impl Updater for Upd
impl Updater for Upd
fn url(&self, resource: &str) -> Option<String>
fn get_versions<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<Version>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn updated_line(&self, entity: &Entity) -> Option<String>
Auto Trait Implementations§
impl Freeze for Upd
impl RefUnwindSafe for Upd
impl Send for Upd
impl Sync for Upd
impl Unpin for Upd
impl UnwindSafe for Upd
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