Lines Matching defs:File
80 pub struct File { struct
81 std: Arc<sys::File>, argument
82 inner: Mutex<Inner>,
109 impl File { impl
143 pub async fn open(path: impl AsRef<Path>) -> io::Result<File> { in open()
183 pub async fn create(path: impl AsRef<Path>) -> io::Result<File> { in create()
202 pub fn from_std(std: sys::File) -> File { in from_std()
388 pub async fn try_clone(&self) -> io::Result<File> { in try_clone()
412 pub async fn into_std(mut self) -> sys::File { in into_std()
437 pub fn try_into_std(mut self) -> Result<sys::File, Self> { in try_into_std()
482 impl AsyncRead for File { implementation
550 impl AsyncSeek for File { implementation
612 impl AsyncWrite for File { implementation
688 impl From<sys::File> for File { implementation
694 impl fmt::Debug for File { implementation
703 impl std::os::unix::io::AsRawFd for File { implementation
710 impl std::os::unix::io::FromRawFd for File { implementation
717 impl std::os::windows::io::AsRawHandle for File { implementation
724 impl std::os::windows::io::FromRawHandle for File { implementation