pub trait ResultPtr: Result {
// Required methods
fn try_ptr(&self) -> Result<*const (), Error>;
fn try_ptr_mut(&self) -> Result<*mut (), Error>;
}
Expand description
Interpret a syscall result as a pointer.
pub trait ResultPtr: Result {
// Required methods
fn try_ptr(&self) -> Result<*const (), Error>;
fn try_ptr_mut(&self) -> Result<*mut (), Error>;
}
Interpret a syscall result as a pointer.