pub fn new_in_out(
        interrupt_evt: EventFd,
        input: Box<dyn ReadableFd + Send>,
        out: Box<dyn io::Write + Send>,
    ) -> Serial {
        Self::new(interrupt_evt, Some(out), Some(input))
    }
/// Constructs a Serial port ready for input and output.
Constructs a Serial port ready for input and output.
Constructs a Serial port ready for input and output .
pub fn new_in_out(
        interrupt_evt: EventFd,
        input: Box<dyn ReadableFd + Send>,
        out: Box<dyn io::Write + Send>,
    ) -> Serial {
        Self::new(interrupt_evt, Some(out), Some(input))
    }
pub fn new_in_out ( interrupt_evt : EventFd , input : Box < dyn ReadableFd + Send > , out : Box < dyn io :: Write + Send > , ) -> Serial { Self :: new ( interrupt_evt , Some ( out ) , Some ( input ) ) }
Constructs a Serial port ready for input and output.
Constructs a Serial port ready for input and output .
interrupt_evt
EventFd
input
Box<dyn ReadableFd + Send>
out
Box<dyn io::Write + Send>