pub enum DumpStatus {
InProgress,
Completed,
Failed,
}Expand description
The status of a server-side dump task.
Does not derive serde::Deserialize — wire deserialization
("in_progress" / "completed" / "failed" strings) happens via the
private wire DTO in src/client/http.rs (Step 5), keeping serde strictly at
the client boundary. See ADR-0001.
Variants§
Implementations§
Source§impl DumpStatus
impl DumpStatus
Sourcepub fn as_str(self) -> &'static str
pub fn as_str(self) -> &'static str
Return the canonical lower-case wire string for this status.
This is the single source of truth for the status string form used in
progress reporting (human and JSON). Parsing wire→enum happens in the
HTTP client layer (http.rs) and is intentionally NOT delegated here.
Trait Implementations§
Source§impl Clone for DumpStatus
impl Clone for DumpStatus
Source§fn clone(&self) -> DumpStatus
fn clone(&self) -> DumpStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DumpStatus
Source§impl Debug for DumpStatus
impl Debug for DumpStatus
impl Eq for DumpStatus
Source§impl PartialEq for DumpStatus
impl PartialEq for DumpStatus
impl StructuralPartialEq for DumpStatus
Auto Trait Implementations§
impl Freeze for DumpStatus
impl RefUnwindSafe for DumpStatus
impl Send for DumpStatus
impl Sync for DumpStatus
impl Unpin for DumpStatus
impl UnsafeUnpin for DumpStatus
impl UnwindSafe for DumpStatus
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.