Enum tauri::api::path::BaseDirectory [−][src]
#[repr(u16)] #[non_exhaustive] pub enum BaseDirectory {}Show variants
Audio, Cache, Config, Data, LocalData, Desktop, Document, Download, Executable, Font, Home, Picture, Public, Runtime, Template, Video, Resource, App, Current,
Expand description
A Base Directory to use. The base directory is the optional root of a FS operation. If informed by the API call, all paths will be relative to the path of the given directory.
For more information, check the dirs_next documentation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The Audio directory.
The Cache directory.
The Config directory.
The Data directory.
The LocalData directory.
The Desktop directory.
The Document directory.
The Download directory.
The Executable directory.
The Font directory.
The Home directory.
The Picture directory.
The Public directory.
The Runtime directory.
The Template directory.
The Video directory.
The Resource directory.
The default App config directory. Resolves to ${BaseDirectory::Config}/${config.tauri.bundle.identifier}
The current working directory.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for BaseDirectory
impl Send for BaseDirectory
impl Sync for BaseDirectory
impl Unpin for BaseDirectory
impl UnwindSafe for BaseDirectory
Blanket Implementations
Mutably borrows from an owned value. Read more
Derives an instance of Self
from the CommandItem
. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V