pub struct PosixInner {
pub file: Option<File>,
pub pos: u64,
pub stream: Option<String>,
}Expand description
Backend-private state attached to every open handle.
Holds an io_uring [File], which is !Send; the handle therefore lives
entirely on its connection’s runtime and is never sent across threads.
Fields§
§file: Option<File>Open io_uring file (None for directory and alternate-data-stream handles).
pos: u64Tracked cursor for SEEK support.
stream: Option<String>Alternate data stream name when this handle targets an ADS (stored in an
extended attribute on the base file), else None for the data stream.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PosixInner
impl !Send for PosixInner
impl !Sync for PosixInner
impl !UnwindSafe for PosixInner
impl Freeze for PosixInner
impl Unpin for PosixInner
impl UnsafeUnpin for PosixInner
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