[−][src]Struct sync15::sync_multiple::MemoryCachedState
Info we want callers to store in memory for us so that subsequent syncs are faster. This should never be persisted to storage as it holds sensitive information, such as the sync decryption keys.
Fields
last_client_info: Option<ClientInfo>
last_global_state: Option<GlobalState>
next_sync_after: Option<SystemTime>
next_client_refresh_after: Option<SystemTime>
Implementations
impl MemoryCachedState
[src]
pub fn clear_sensitive_info(&mut self)
[src]
pub fn get_next_sync_after(&self) -> Option<SystemTime>
[src]
pub fn should_refresh_client(&self) -> bool
[src]
pub fn note_client_refresh(&mut self)
[src]
Trait Implementations
impl Debug for MemoryCachedState
[src]
impl Default for MemoryCachedState
[src]
fn default() -> MemoryCachedState
[src]
Auto Trait Implementations
impl !RefUnwindSafe for MemoryCachedState
impl Send for MemoryCachedState
impl !Sync for MemoryCachedState
impl Unpin for MemoryCachedState
impl !UnwindSafe for MemoryCachedState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,