Method lrs::tty::Tty::set_line_discipline

Sets the line discipline of this terminal.

Syntax

impl Tty {
    fn set_line_discipline(&self, disc: LineDiscipline) -> Result<(), Errno>
}

Arguments

NameDescription
disc

The new line discipline.

See also