Enum jortestkit::load::RequestStatus
source · pub enum RequestStatus {
Failed {
message: String,
},
Success,
Pending,
}
Variants§
Implementations§
source§impl RequestStatus
impl RequestStatus
pub fn is_pending(&self) -> bool
pub fn is_success(&self) -> bool
pub fn is_failed(&self) -> bool
Trait Implementations§
source§impl Clone for RequestStatus
impl Clone for RequestStatus
source§fn clone(&self) -> RequestStatus
fn clone(&self) -> RequestStatus
Returns a copy 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 RequestStatus
impl Debug for RequestStatus
source§impl Into<RequestStatus> for Status
impl Into<RequestStatus> for Status
source§fn into(self) -> RequestStatus
fn into(self) -> RequestStatus
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl RefUnwindSafe for RequestStatus
impl Send for RequestStatus
impl Sync for RequestStatus
impl Unpin 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