pub enum FetchState {
Unknown,
Pending,
Response,
Failed(FetchError),
}Expand description
Where a request has got to.
Variants§
Unknown
No request by that id. Either it never existed or it was released.
Pending
Started, not yet answered.
Response
A response arrived and is readable.
Including a 404. A response is a response whatever its status; see
FetchHandler::complete.
Failed(FetchError)
No response will arrive.
Trait Implementations§
Source§impl Clone for FetchState
impl Clone for FetchState
Source§fn clone(&self) -> FetchState
fn clone(&self) -> FetchState
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 moreSource§impl Debug for FetchState
impl Debug for FetchState
impl Eq for FetchState
Source§impl PartialEq for FetchState
impl PartialEq for FetchState
impl StructuralPartialEq for FetchState
Auto Trait Implementations§
impl Freeze for FetchState
impl RefUnwindSafe for FetchState
impl Send for FetchState
impl Sync for FetchState
impl Unpin for FetchState
impl UnsafeUnpin for FetchState
impl UnwindSafe for FetchState
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