Skip to main content

Module io

Module io 

Source

Structs§

FileMode
FileTargetInfo
ParsedFileMode

Enums§

FileModeError
FileModeFlag

Functions§

close_owned_fd
inspect_file_target
is_interrupted_errno
is_interrupted_error
is_seekable
is_would_block_error
isatty
open_path
parse_fileio_mode
read_all
read_once
reads_without_waiting
Whether a read from fd answers from data the file already holds, rather than waiting for whoever writes the other end.
seek
seek_to_end
should_forget_fd_after_inspect_error
tell
validate_whence
write_once
write_stderr_raw
Async-signal-safe raw write to the platform stderr file descriptor. Avoids std::io::stderr() locking so it is safe to call from fork children and signal handlers.