pub fn from_raw_error(error: Errno) -> Option<Error> {
        Some(Error {
            code: NonZeroU16::new(error)?,
        })
    }
/// Constructs a new error from a raw error code, returning `None` if the
/// error code is zero (which means success).
Constructs a new error from a raw error code, returning `None` if the
error code is zero (which means success).
Constructs a new error from a raw error code returning ` None ` if the error code is zero ( which means success ) .
pub fn from_raw_error(error: Errno) -> Option<Error> {
        Some(Error {
            code: NonZeroU16::new(error)?,
        })
    }
pub fn from_raw_error ( error : Errno ) -> Option < Error > { Some ( Error { code : NonZeroU16 :: new ( error ) ? , } ) }
Constructs a new error from a raw error code, returning `None` if the
error code is zero (which means success).
Constructs a new error from a raw error code returning ` None ` if the error code is zero ( which means success ) .
error
Errno
error
Errno