pub struct QueuedUpload {
pub namespace: String,
pub blob_id: String,
pub table_name: String,
pub row_id: String,
pub root_table: String,
pub root_id: String,
pub retain_pinned: bool,
pub attempt_count: u64,
pub last_error: Option<String>,
pub created_at: String,
pub last_attempt_at: Option<String>,
}Expand description
One upload the durable cloud queue is holding, as a host renders it.
This is a projection of the queue row, not the drain’s working entry: it
carries what a person needs to see — which blob, which row it belongs to,
whether it is retried and why — and none of the transfer bookkeeping the
drain needs. attempt_count is 0 and last_error is None until a
transfer has actually been tried and failed, so a freshly queued upload is
distinguishable from a retrying one.
Fields§
§namespace: StringThe blob’s namespace, from the queued row reference.
blob_id: StringThe blob’s id within that namespace.
table_name: StringThe blob-bearing row this upload belongs to.
row_id: String§root_table: StringThe gated root whose make-remote enqueued this upload. Every upload for one root shares this pair, and the root is what a host groups by.
root_id: String§retain_pinned: boolWhether the transition asked for the plaintext to stay cached locally once the upload lands.
attempt_count: u64Failed transfer attempts so far; 0 for an upload never yet tried.
last_error: Option<String>Why the last attempt failed, if one has.
created_at: StringWhen the upload was enqueued.
last_attempt_at: Option<String>When it was last attempted, if it has been.
Trait Implementations§
Source§impl Clone for QueuedUpload
impl Clone for QueuedUpload
Source§fn clone(&self) -> QueuedUpload
fn clone(&self) -> QueuedUpload
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for QueuedUpload
impl Debug for QueuedUpload
Source§impl PartialEq for QueuedUpload
impl PartialEq for QueuedUpload
impl Eq for QueuedUpload
impl StructuralPartialEq for QueuedUpload
Auto Trait Implementations§
impl Freeze for QueuedUpload
impl RefUnwindSafe for QueuedUpload
impl Send for QueuedUpload
impl Sync for QueuedUpload
impl Unpin for QueuedUpload
impl UnsafeUnpin for QueuedUpload
impl UnwindSafe for QueuedUpload
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
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
§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
key and return true if they are equal.