pub enum RequestKind {
IsVoid,
HasResponse,
}
Expand description
Does a request have a response?
Variants§
IsVoid
The request has no response, i.e. its type is “void”.
HasResponse
The request has a response.
Trait Implementations§
Source§impl Clone for RequestKind
impl Clone for RequestKind
Source§fn clone(&self) -> RequestKind
fn clone(&self) -> RequestKind
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 RequestKind
impl Debug for RequestKind
Source§impl PartialEq for RequestKind
impl PartialEq for RequestKind
impl Copy for RequestKind
impl Eq for RequestKind
impl StructuralPartialEq for RequestKind
Auto Trait Implementations§
impl Freeze for RequestKind
impl RefUnwindSafe for RequestKind
impl Send for RequestKind
impl Sync for RequestKind
impl Unpin for RequestKind
impl UnwindSafe for RequestKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)