pub struct FileGuardDataStore { /* private fields */ }Expand description
Store the steam guard data in a json file
Implementations§
Source§impl FileGuardDataStore
impl FileGuardDataStore
Sourcepub fn user_cache() -> Self
pub fn user_cache() -> Self
Store the machine tokens in the user’s cache directory
This will be
$XDG_CACHE_HOME/steam-vent/machine_token.json(where$XDG_CACHE_HOMEdefaults to$HOME/.cache) on Linux$HOME/Library/Caches/steam-vent/steam-vent.steam-vent/machine_token.jsonon macOS%LocalAppData%/steam-vent/steam-vent/cache/machine_token.jsonon Windows
Trait Implementations§
Source§impl GuardDataStore for FileGuardDataStore
impl GuardDataStore for FileGuardDataStore
Auto Trait Implementations§
impl Freeze for FileGuardDataStore
impl RefUnwindSafe for FileGuardDataStore
impl Send for FileGuardDataStore
impl Sync for FileGuardDataStore
impl Unpin for FileGuardDataStore
impl UnwindSafe for FileGuardDataStore
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