pub struct Teletype {
inner: Mutex<TeletypeInner>,
}
Fields
inner: Mutex<TeletypeInner>
Trait Implementations
Whether the file is inherently readable. Usually used as an indicator for authority for regular files. Read more
Whether the file is inherently writable. Usually used as an indicator for authority for regular files. Read more
Write to a buffer from the file into the kernel buffer. Read more
Control the device file. manipulates the underlying device parameters of special files. In particular, many operating characteristics of character special files (e.g., terminals) may be controlled with ioctl() requests. See the specific file type and its implementation for hint about available commands and arguments. Read more
Read a buffer from the file into the kernel buffer. Read more
Check whether the current file is hanged up and has nothing to read. In pipes, this functions checks whether the counterpart has closed the other end. Read more