pub enum WorkerDrainError {
Status400(),
Status403(),
Status408(),
Status409(),
Status503(),
UnknownValue(Value),
}Expand description
struct for typed errors of method worker_drain
Variants§
Trait Implementations§
source§impl Clone for WorkerDrainError
impl Clone for WorkerDrainError
source§fn clone(&self) -> WorkerDrainError
fn clone(&self) -> WorkerDrainError
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 WorkerDrainError
impl Debug for WorkerDrainError
source§impl<'de> Deserialize<'de> for WorkerDrainError
impl<'de> Deserialize<'de> for WorkerDrainError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for WorkerDrainError
impl Send for WorkerDrainError
impl Sync for WorkerDrainError
impl Unpin for WorkerDrainError
impl UnwindSafe for WorkerDrainError
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