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§
sourcefn try_as_errno(&self) -> Option<Errno>
fn try_as_errno(&self) -> Option<Errno>
Gets the Unix error value if there is one.