#[repr(u32)]pub enum BlockIORequestType {
Read = 0,
Write = 1,
}Variants§
Trait Implementations§
Source§impl Clone for BlockIORequestType
impl Clone for BlockIORequestType
Source§fn clone(&self) -> BlockIORequestType
fn clone(&self) -> BlockIORequestType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockIORequestType
impl Debug for BlockIORequestType
Source§impl From<BlockIORequestType> for u32
impl From<BlockIORequestType> for u32
Source§fn from(enum_value: BlockIORequestType) -> Self
fn from(enum_value: BlockIORequestType) -> Self
Converts to this type from the input type.
Source§impl Ord for BlockIORequestType
impl Ord for BlockIORequestType
Source§impl PartialEq for BlockIORequestType
impl PartialEq for BlockIORequestType
Source§impl PartialOrd for BlockIORequestType
impl PartialOrd for BlockIORequestType
Source§fn partial_cmp(&self, other: &BlockIORequestType) -> Option<Ordering>
fn partial_cmp(&self, other: &BlockIORequestType) -> Option<Ordering>
Source§impl TryFrom<u32> for BlockIORequestType
impl TryFrom<u32> for BlockIORequestType
Source§type Error = TryFromPrimitiveError<BlockIORequestType>
type Error = TryFromPrimitiveError<BlockIORequestType>
The type returned in the event of a conversion error.
Source§fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
Source§impl TryFromPrimitive for BlockIORequestType
impl TryFromPrimitive for BlockIORequestType
const NAME: &'static str = "BlockIORequestType"
type Primitive = u32
type Error = TryFromPrimitiveError<BlockIORequestType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for BlockIORequestType
impl Eq for BlockIORequestType
impl StructuralPartialEq for BlockIORequestType
Auto Trait Implementations§
impl Freeze for BlockIORequestType
impl RefUnwindSafe for BlockIORequestType
impl Send for BlockIORequestType
impl Sync for BlockIORequestType
impl Unpin for BlockIORequestType
impl UnwindSafe for BlockIORequestType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)