pub enum DriverIndex {
OneDrive(OnedriveConfig),
Static(StaticDir),
}
Variants§
OneDrive(OnedriveConfig)
Static(StaticDir)
Implementations§
Source§impl DriverIndex
impl DriverIndex
pub async fn create_instance(self) -> Box<dyn GetVfs>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DriverIndex
impl<'de> Deserialize<'de> for DriverIndex
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DriverIndex
impl RefUnwindSafe for DriverIndex
impl Send for DriverIndex
impl Sync for DriverIndex
impl Unpin for DriverIndex
impl UnwindSafe for DriverIndex
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