#[repr(C)]pub struct io_result {
pub error: io_error,
pub value: usize,
}
Expand description
Result of IO operations
Fields§
§error: io_error
Error value, or success.
value: usize
Returned value, only valid if error is set to Success.
Trait Implementations§
impl Copy for io_result
Auto Trait Implementations§
impl Freeze for io_result
impl RefUnwindSafe for io_result
impl Send for io_result
impl Sync for io_result
impl Unpin for io_result
impl UnwindSafe for io_result
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)