Struct libuv_sys2::uv_fs_s
source · [−]#[repr(C)]pub struct uv_fs_s {Show 23 fields
pub data: *mut c_void,
pub type_: uv_req_type,
pub reserved: [*mut c_void; 6],
pub fs_type: uv_fs_type,
pub loop_: *mut uv_loop_t,
pub cb: uv_fs_cb,
pub result: ssize_t,
pub ptr: *mut c_void,
pub path: *const c_char,
pub statbuf: uv_stat_t,
pub new_path: *const c_char,
pub file: uv_file,
pub flags: c_int,
pub mode: mode_t,
pub nbufs: c_uint,
pub bufs: *mut uv_buf_t,
pub off: off_t,
pub uid: uv_uid_t,
pub gid: uv_gid_t,
pub atime: f64,
pub mtime: f64,
pub work_req: uv__work,
pub bufsml: [uv_buf_t; 4],
}Fields
data: *mut c_voidtype_: uv_req_typereserved: [*mut c_void; 6]fs_type: uv_fs_typeloop_: *mut uv_loop_tcb: uv_fs_cbresult: ssize_tptr: *mut c_voidpath: *const c_charstatbuf: uv_stat_tnew_path: *const c_charfile: uv_fileflags: c_intmode: mode_tnbufs: c_uintbufs: *mut uv_buf_toff: off_tuid: uv_uid_tgid: uv_gid_tatime: f64mtime: f64work_req: uv__workbufsml: [uv_buf_t; 4]Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for uv_fs_s
impl !Send for uv_fs_s
impl !Sync for uv_fs_s
impl Unpin for uv_fs_s
impl UnwindSafe for uv_fs_s
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more