Trait pal::unix::TryAsErrno

source ·
pub trait TryAsErrno {
    // Required method
    fn try_as_errno(&self) -> Option<Errno>;
}
Expand description

Trait for extracting a Unix error value from an error type.

Required Methods§

source

fn try_as_errno(&self) -> Option<Errno>

Gets the Unix error value if there is one.

Implementations on Foreign Types§

source§

impl TryAsErrno for Error

Implementors§