pub struct TtyDevice;
A marker type for super::File objects that represent tty devices.
super::File
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U