Lines Matching defs:File
93 pub struct File { struct
94 std: Arc<StdFile>, argument
95 inner: Mutex<Inner>,
122 impl File { implementation
154 pub async fn open(path: impl AsRef<Path>) -> io::Result<File> { in open()
192 pub async fn create(path: impl AsRef<Path>) -> io::Result<File> { in create()
242 pub fn from_std(std: StdFile) -> File { in from_std()
428 pub async fn try_clone(&self) -> io::Result<File> { in try_clone()
523 impl AsyncRead for File { implementation
592 impl AsyncSeek for File { implementation
656 impl AsyncWrite for File { implementation
740 impl From<StdFile> for File { implementation
746 impl fmt::Debug for File { implementation
755 impl std::os::unix::io::AsRawFd for File { implementation
762 impl std::os::unix::io::AsFd for File { implementation
771 impl std::os::unix::io::FromRawFd for File { implementation