pub struct Api { /* private fields */ }Trait Implementations
sourceimpl Backup for Api
impl Backup for Api
fn new<'async_trait>(
) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>> where
Self: 'async_trait,
fn login<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + Send + 'async_trait>> where
Self: 'async_trait,
fn fetch_backup<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<Vec<Package>, Box<dyn Error>>> + Send + 'async_trait>> where
Self: 'async_trait,
fn push_backup<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + Send + 'async_trait>> where
Self: 'async_trait,
Auto Trait Implementations
impl RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl UnwindSafe for Api
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more