pub struct FsCacheConfig {
pub work_dir: String,
}Expand description
Configuration information for fscache.
Fields§
§work_dir: StringWorking directory to store state and cached files.
Implementations§
Source§impl FsCacheConfig
impl FsCacheConfig
Sourcepub fn get_work_dir(&self) -> Result<&str>
pub fn get_work_dir(&self) -> Result<&str>
Get the working directory.
Trait Implementations§
Source§impl Clone for FsCacheConfig
impl Clone for FsCacheConfig
Source§fn clone(&self) -> FsCacheConfig
fn clone(&self) -> FsCacheConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FsCacheConfig
impl Debug for FsCacheConfig
Source§impl Default for FsCacheConfig
impl Default for FsCacheConfig
Source§fn default() -> FsCacheConfig
fn default() -> FsCacheConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FsCacheConfig
impl<'de> Deserialize<'de> for FsCacheConfig
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
Source§impl PartialEq for FsCacheConfig
impl PartialEq for FsCacheConfig
Source§impl Serialize for FsCacheConfig
impl Serialize for FsCacheConfig
impl Eq for FsCacheConfig
impl StructuralPartialEq for FsCacheConfig
Auto Trait Implementations§
impl Freeze for FsCacheConfig
impl RefUnwindSafe for FsCacheConfig
impl Send for FsCacheConfig
impl Sync for FsCacheConfig
impl Unpin for FsCacheConfig
impl UnwindSafe for FsCacheConfig
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