Lines Matching defs:File
89 pub struct File { struct
90 std: Arc<StdFile>, argument
91 inner: Mutex<Inner>,
92 max_buf_size: usize,
119 impl File { implementation
151 pub async fn open(path: impl AsRef<Path>) -> io::Result<File> { in open()
189 pub async fn create(path: impl AsRef<Path>) -> io::Result<File> { in create()
226 pub async fn create_new<P: AsRef<Path>>(path: P) -> std::io::Result<File> { in create_new()
276 pub fn from_std(std: StdFile) -> File { in from_std()
463 pub async fn try_clone(&self) -> io::Result<File> { in try_clone()
582 impl AsyncRead for File { implementation
651 impl AsyncSeek for File { implementation
715 impl AsyncWrite for File { implementation
874 impl From<StdFile> for File { implementation
880 impl fmt::Debug for File { implementation
889 impl std::os::unix::io::AsRawFd for File { implementation
896 impl std::os::unix::io::AsFd for File { implementation
905 impl std::os::unix::io::FromRawFd for File { implementation