Struct steamworks::SteamFile
source · pub struct SteamFile<Manager> { /* private fields */ }
Expand description
A handle for a possible steam cloud file
Implementations§
source§impl<Manager> SteamFile<Manager>
impl<Manager> SteamFile<Manager>
sourcepub fn delete(&self) -> bool
pub fn delete(&self) -> bool
Deletes the file locally and remotely.
Returns whether a file was actually deleted
sourcepub fn forget(&self) -> bool
pub fn forget(&self) -> bool
Deletes the file remotely whilst keeping it locally.
Returns whether a file was actually forgotten
sourcepub fn is_persisted(&self) -> bool
pub fn is_persisted(&self) -> bool
Returns whether a file is persisted in the steam cloud
pub fn timestamp(&self) -> i64
pub fn write(self) -> SteamFileWriter<Manager> ⓘ
pub fn read(self) -> SteamFileReader<Manager> ⓘ
Auto Trait Implementations§
impl<Manager> RefUnwindSafe for SteamFile<Manager>where
Manager: RefUnwindSafe,
impl<Manager> !Send for SteamFile<Manager>
impl<Manager> !Sync for SteamFile<Manager>
impl<Manager> Unpin for SteamFile<Manager>
impl<Manager> UnwindSafe for SteamFile<Manager>where
Manager: RefUnwindSafe,
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