Function devices::sys::linux::serial_device::create_unix_stream_serial_device
source · pub(crate) fn create_unix_stream_serial_device<T: SerialDevice>(
param: &SerialParameters,
protection_type: ProtectionType,
evt: Event,
keep_rds: &mut Vec<RawDescriptor>
) -> Result<T, Error>
Expand description
Creates a serial device that use the given UnixStream path for both input and output.