[][src]Struct abi_stable::std_types::std_io::RIoErrorKind

#[repr(C)]
pub struct RIoErrorKind { /* fields omitted */ }

Ffi safe equivalent to std::io::ErrorKind.

Using a struct with associated constants is the ffi-safe way of doing #[non_exhaustive] field-less enums.

Methods

impl RIoErrorKind[src]

Every (visible) variant of RIoErrorKind,equivalent to that of std::io::ErrorKind.

pub const NotFound: Self[src]

pub const PermissionDenied: Self[src]

pub const ConnectionRefused: Self[src]

pub const ConnectionReset: Self[src]

pub const ConnectionAborted: Self[src]

pub const NotConnected: Self[src]

pub const AddrInUse: Self[src]

pub const AddrNotAvailable: Self[src]

pub const BrokenPipe: Self[src]

pub const AlreadyExists: Self[src]

pub const WouldBlock: Self[src]

pub const InvalidInput: Self[src]

pub const InvalidData: Self[src]

pub const TimedOut: Self[src]

pub const WriteZero: Self[src]

pub const Interrupted: Self[src]

pub const UnexpectedEof: Self[src]

pub const Other: Self[src]

Trait Implementations

impl IntoReprRust for RIoErrorKind[src]

type ReprRust = ErrorKind

impl GetStaticEquivalent_ for RIoErrorKind[src]

type StaticEquivalent = _static_RIoErrorKind

impl SharedStableAbi for RIoErrorKind[src]

type IsNonZeroType = False

Whether this type has a single invalid bit-pattern. Read more

type Kind = __ValueKind

The kind of abi stability of this type,there are 2: Read more

impl Into<ErrorKind> for RIoErrorKind[src]

impl From<ErrorKind> for RIoErrorKind[src]

impl From<RIoErrorKind> for RIoError[src]

impl Clone for RIoErrorKind[src]

impl Copy for RIoErrorKind[src]

impl Eq for RIoErrorKind[src]

impl Ord for RIoErrorKind[src]

impl PartialEq<RIoErrorKind> for RIoErrorKind[src]

impl PartialOrd<RIoErrorKind> for RIoErrorKind[src]

impl Debug for RIoErrorKind[src]

impl Hash for RIoErrorKind[src]

Auto Trait Implementations

Blanket Implementations

impl<This> GetConstGenericVTable for This where
    This: StableAbi + Eq + PartialEq<This> + Debug + Send + Sync
[src]

impl<This> StableAbi for This where
    This: SharedStableAbi<Kind = ValueKind>, 
[src]

impl<This> TransmuteElement for This where
    This: ?Sized
[src]

impl<'a, T> BorrowOwned<'a> for T where
    T: 'a + Clone
[src]

type ROwned = T

type RBorrowed = &'a T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> TypeIdentity for T where
    T: ?Sized
[src]

type Type = T

The same type as Self. Read more

impl<T> SelfOps for T where
    T: ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The error type returned when the conversion fails.