pub enum ClientCapacityError {
TargetTooSmall,
RequestBodyTooSmall,
ResponseBodyTooSmall,
ResponseHeadersTooSmall,
AllocationFailed,
}Expand description
Failure while admitting or allocating a complete client workspace.
Variants§
TargetTooSmall
Request-target storage does not satisfy the selected profile.
RequestBodyTooSmall
Request-body storage does not satisfy the selected profile.
ResponseBodyTooSmall
Response-body storage does not satisfy the selected profile.
ResponseHeadersTooSmall
Response-header storage does not satisfy the selected profile.
AllocationFailed
The allocator rejected the requested bounded profile.
Trait Implementations§
Source§impl Clone for ClientCapacityError
impl Clone for ClientCapacityError
Source§fn clone(&self) -> ClientCapacityError
fn clone(&self) -> ClientCapacityError
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 ClientCapacityError
Source§impl Debug for ClientCapacityError
impl Debug for ClientCapacityError
Source§impl Display for ClientCapacityError
impl Display for ClientCapacityError
impl Eq for ClientCapacityError
Source§impl Error for ClientCapacityError
impl Error for ClientCapacityError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ClientCapacityError
impl PartialEq for ClientCapacityError
impl StructuralPartialEq for ClientCapacityError
Auto Trait Implementations§
impl Freeze for ClientCapacityError
impl RefUnwindSafe for ClientCapacityError
impl Send for ClientCapacityError
impl Sync for ClientCapacityError
impl Unpin for ClientCapacityError
impl UnsafeUnpin for ClientCapacityError
impl UnwindSafe for ClientCapacityError
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