pub enum RequestStatus {
Waiting,
Received {
name: String,
size: u64,
},
Failed {
reason: String,
},
}Expand description
Where a request stands: nobody’s uploaded yet, something arrived, or the one attempt the gate allowed came back bad.
Variants§
Trait Implementations§
Source§impl Clone for RequestStatus
impl Clone for RequestStatus
Source§fn clone(&self) -> RequestStatus
fn clone(&self) -> RequestStatus
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 moreAuto Trait Implementations§
impl Freeze for RequestStatus
impl RefUnwindSafe for RequestStatus
impl Send for RequestStatus
impl Sync for RequestStatus
impl Unpin for RequestStatus
impl UnsafeUnpin for RequestStatus
impl UnwindSafe for RequestStatus
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