#[repr(i32)]pub enum BlockIORequestStatus {
Pending = -1,
Ok = 0,
IOError = 1,
}Variants§
Trait Implementations§
Source§impl Clone for BlockIORequestStatus
impl Clone for BlockIORequestStatus
Source§fn clone(&self) -> BlockIORequestStatus
fn clone(&self) -> BlockIORequestStatus
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 BlockIORequestStatus
impl Debug for BlockIORequestStatus
Source§impl From<BlockIORequestStatus> for i32
impl From<BlockIORequestStatus> for i32
Source§fn from(enum_value: BlockIORequestStatus) -> Self
fn from(enum_value: BlockIORequestStatus) -> Self
Converts to this type from the input type.
Source§impl Ord for BlockIORequestStatus
impl Ord for BlockIORequestStatus
Source§impl PartialEq for BlockIORequestStatus
impl PartialEq for BlockIORequestStatus
Source§impl PartialOrd for BlockIORequestStatus
impl PartialOrd for BlockIORequestStatus
Source§fn partial_cmp(&self, other: &BlockIORequestStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &BlockIORequestStatus) -> Option<Ordering>
Source§impl TryFrom<i32> for BlockIORequestStatus
impl TryFrom<i32> for BlockIORequestStatus
Source§type Error = TryFromPrimitiveError<BlockIORequestStatus>
type Error = TryFromPrimitiveError<BlockIORequestStatus>
The type returned in the event of a conversion error.
Source§fn try_from(number: i32) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: i32) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
Source§impl TryFromPrimitive for BlockIORequestStatus
impl TryFromPrimitive for BlockIORequestStatus
const NAME: &'static str = "BlockIORequestStatus"
type Primitive = i32
type Error = TryFromPrimitiveError<BlockIORequestStatus>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for BlockIORequestStatus
impl Eq for BlockIORequestStatus
impl StructuralPartialEq for BlockIORequestStatus
Auto Trait Implementations§
impl Freeze for BlockIORequestStatus
impl RefUnwindSafe for BlockIORequestStatus
impl Send for BlockIORequestStatus
impl Sync for BlockIORequestStatus
impl Unpin for BlockIORequestStatus
impl UnwindSafe for BlockIORequestStatus
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)