#[repr(u32)]pub enum PendingResponseKind {
Any = 0,
Response = 1,
Error = 2,
}Expand description
What types of responses to a PendingRequestHandle a queued operation
should apply to.
Variants§
Any = 0
Apply the change to any response, regardless of whether it’s a real one or a synthetic response generated after a request error.
Response = 1
Only apply the change to an actual response, and skip synthetic responses.
Error = 2
Only apply the change to a synthetic error response, and skip real responses.
Trait Implementations§
Source§impl Clone for PendingResponseKind
impl Clone for PendingResponseKind
Source§fn clone(&self) -> PendingResponseKind
fn clone(&self) -> PendingResponseKind
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 PendingResponseKind
Source§impl Debug for PendingResponseKind
impl Debug for PendingResponseKind
Source§impl Default for PendingResponseKind
impl Default for PendingResponseKind
Source§fn default() -> PendingResponseKind
fn default() -> PendingResponseKind
Returns the “default value” for a type. Read more
impl Eq for PendingResponseKind
Source§impl PartialEq for PendingResponseKind
impl PartialEq for PendingResponseKind
Source§fn eq(&self, other: &PendingResponseKind) -> bool
fn eq(&self, other: &PendingResponseKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PendingResponseKind
Auto Trait Implementations§
impl Freeze for PendingResponseKind
impl RefUnwindSafe for PendingResponseKind
impl Send for PendingResponseKind
impl Sync for PendingResponseKind
impl Unpin for PendingResponseKind
impl UnsafeUnpin for PendingResponseKind
impl UnwindSafe for PendingResponseKind
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