Enum jcm::RequestMode
source · #[repr(u8)]pub enum RequestMode {
Get = 0,
Set = 1,
}Expand description
Represents the mode for a Request.
Variants§
Implementations§
source§impl RequestMode
impl RequestMode
sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new RequestMode.
Trait Implementations§
source§impl Clone for RequestMode
impl Clone for RequestMode
source§fn clone(&self) -> RequestMode
fn clone(&self) -> RequestMode
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 RequestMode
impl Debug for RequestMode
source§impl Default for RequestMode
impl Default for RequestMode
source§impl PartialEq for RequestMode
impl PartialEq for RequestMode
source§fn eq(&self, other: &RequestMode) -> bool
fn eq(&self, other: &RequestMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for RequestMode
impl Eq for RequestMode
impl StructuralPartialEq for RequestMode
Auto Trait Implementations§
impl Freeze for RequestMode
impl RefUnwindSafe for RequestMode
impl Send for RequestMode
impl Sync for RequestMode
impl Unpin for RequestMode
impl UnwindSafe for RequestMode
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