pub struct PinRequest {
pub id: i64,
pub file: FileId,
pub copy: Option<StagedName>,
pub retry: Option<RetryWait>,
}Expand description
One file this device keeps whole as a switch asked.
Fields§
§id: i64The request’s own id, never reused: its wait, and what coven keeps of it in memory, are never a later request’s for the same file.
file: FileIdThe file.
copy: Option<StagedName>Coven’s copy of an app file’s bytes, while the cache copy is still to
be made from it; None for a file the pin downloads from storage.
retry: Option<RetryWait>The persisted wait after a failed attempt, if one is armed (§6.7).
Trait Implementations§
Source§impl Clone for PinRequest
impl Clone for PinRequest
Source§fn clone(&self) -> PinRequest
fn clone(&self) -> PinRequest
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 PinRequest
impl Debug for PinRequest
Source§impl PartialEq for PinRequest
impl PartialEq for PinRequest
impl Eq for PinRequest
impl StructuralPartialEq for PinRequest
Auto Trait Implementations§
impl Freeze for PinRequest
impl RefUnwindSafe for PinRequest
impl Send for PinRequest
impl Sync for PinRequest
impl Unpin for PinRequest
impl UnsafeUnpin for PinRequest
impl UnwindSafe for PinRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.