pub struct UploadQueueState {
pub paused: bool,
pub uploads: Vec<FileUpload>,
pub sending: BTreeSet<FileId>,
}Expand description
The queue as the app observes it: the pause setting and every queued file with its recorded session, from one committed state, and the files this process is sending as it was read (E7).
Fields§
§paused: boolWhether the app paused uploads; persisted across reopening.
uploads: Vec<FileUpload>Queued uploads, oldest first.
sending: BTreeSet<FileId>The files being sent as the queue was read, as coven_sending lists
them.
Trait Implementations§
Source§impl Clone for UploadQueueState
impl Clone for UploadQueueState
Source§fn clone(&self) -> UploadQueueState
fn clone(&self) -> UploadQueueState
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 UploadQueueState
impl Debug for UploadQueueState
Source§impl PartialEq for UploadQueueState
impl PartialEq for UploadQueueState
impl StructuralPartialEq for UploadQueueState
Auto Trait Implementations§
impl Freeze for UploadQueueState
impl RefUnwindSafe for UploadQueueState
impl Send for UploadQueueState
impl Sync for UploadQueueState
impl Unpin for UploadQueueState
impl UnsafeUnpin for UploadQueueState
impl UnwindSafe for UploadQueueState
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