pub struct QueueFacts<P> {
pub sync: SyncFacts<P>,
pub holds: TransferHolds,
pub queue: UploadQueueState,
pub recorded: Vec<UploadRecords<P>>,
}Expand description
What the phase of each upload in the queue is computed from (§17.9, api.md E7): the facts the sync state reads, what holds trailing uploads, the whole queue, and what is recorded about each upload, in one committed snapshot.
Fields§
§sync: SyncFacts<P>What the sync state is computed from.
holds: TransferHoldsWhat holds trailing uploads.
queue: UploadQueueStateThe queue as the app observes it, every file in it.
recorded: Vec<UploadRecords<P>>What is recorded about each upload in the queue, by queue id.
Trait Implementations§
Source§impl<P: Clone> Clone for QueueFacts<P>
impl<P: Clone> Clone for QueueFacts<P>
Auto Trait Implementations§
impl<P> Freeze for QueueFacts<P>
impl<P> RefUnwindSafe for QueueFacts<P>where
P: RefUnwindSafe,
impl<P> Send for QueueFacts<P>where
P: Send,
impl<P> Sync for QueueFacts<P>where
P: Sync,
impl<P> Unpin for QueueFacts<P>where
P: Unpin,
impl<P> UnsafeUnpin for QueueFacts<P>
impl<P> UnwindSafe for QueueFacts<P>where
P: UnwindSafe,
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