#[repr(u8)]pub enum RequestType {
Read = 192,
ReadAlt = 193,
ShortWrite = 194,
ShortWriteAlt = 195,
LongWrite = 196,
LongWriteAlt = 197,
}Expand description
The kinds of Request the Host can make to the NBMC
Variants§
Implementations§
Source§impl RequestType
impl RequestType
Trait Implementations§
Source§impl Clone for RequestType
impl Clone for RequestType
Source§fn clone(&self) -> RequestType
fn clone(&self) -> RequestType
Returns a duplicate 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 RequestType
impl Debug for RequestType
Source§impl From<RequestType> for u8
impl From<RequestType> for u8
Source§fn from(enum_value: RequestType) -> Self
fn from(enum_value: RequestType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RequestType
impl PartialEq for RequestType
Source§impl TryFrom<u8> for RequestType
impl TryFrom<u8> for RequestType
Source§type Error = TryFromPrimitiveError<RequestType>
type Error = TryFromPrimitiveError<RequestType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for RequestType
impl TryFromPrimitive for RequestType
impl Copy for RequestType
impl Eq for RequestType
impl StructuralPartialEq for RequestType
Auto Trait Implementations§
impl Freeze for RequestType
impl RefUnwindSafe for RequestType
impl Send for RequestType
impl Sync for RequestType
impl Unpin for RequestType
impl UnwindSafe for RequestType
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