pub trait ResultSize: Result {
// Required methods
fn try_isize(&self) -> Result<isize, Error>;
fn try_usize(&self) -> Result<usize, Error>;
}
Expand description
Interpret a syscall result as a pointer-sized integer.
pub trait ResultSize: Result {
// Required methods
fn try_isize(&self) -> Result<isize, Error>;
fn try_usize(&self) -> Result<usize, Error>;
}
Interpret a syscall result as a pointer-sized integer.