pub struct OnedriveDriver {
pub state: OnedriveState,
}
Fields§
§state: OnedriveState
Trait Implementations§
Source§impl CloudDriver<OnedriveConfig, OnedriveState> for OnedriveDriver
impl CloudDriver<OnedriveConfig, OnedriveState> for OnedriveDriver
Source§fn new<'async_trait>(
state: OnedriveState,
) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>where
Self: 'async_trait,
fn new<'async_trait>(
state: OnedriveState,
) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>where
Self: 'async_trait,
Create a new instance of the driver.
Source§fn load_config<'async_trait>(
config: OnedriveConfig,
) -> Pin<Box<dyn Future<Output = OnedriveState> + Send + 'async_trait>>
fn load_config<'async_trait>( config: OnedriveConfig, ) -> Pin<Box<dyn Future<Output = OnedriveState> + Send + 'async_trait>>
If
Config
is State
, returns Config
directly.fn reload_vfs<'life0, 'async_trait>(
state: &'life0 OnedriveState,
) -> Pin<Box<dyn Future<Output = Result<CombinableDir<StaticCombinableFile>, String>> + Send + 'async_trait>>where
'life0: 'async_trait,
Source§impl GetVfs for OnedriveDriver
impl GetVfs for OnedriveDriver
Auto Trait Implementations§
impl Freeze for OnedriveDriver
impl !RefUnwindSafe for OnedriveDriver
impl Send for OnedriveDriver
impl Sync for OnedriveDriver
impl Unpin for OnedriveDriver
impl !UnwindSafe for OnedriveDriver
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