Enum tauri_plugin_fs::FilePath
source · pub enum FilePath {
Url(Url),
Path(PathBuf),
}
Expand description
Represents either a filesystem path or a URI pointing to a file
such as file://
URIs or Android content://
URIs.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for FilePath
impl<'de> Deserialize<'de> for FilePath
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 FilePath
impl RefUnwindSafe for FilePath
impl Send for FilePath
impl Sync for FilePath
impl Unpin for FilePath
impl UnwindSafe for FilePath
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