pub(crate) fn create_system_type_serial_device<T: SerialDevice>(
param: &SerialParameters,
protection_type: ProtectionType,
evt: Event,
input: Option<Box<dyn SerialInput>>,
keep_rds: &mut Vec<RawDescriptor>,
) -> Result<T, Error>pub(crate) fn create_system_type_serial_device<T: SerialDevice>(
param: &SerialParameters,
protection_type: ProtectionType,
evt: Event,
input: Option<Box<dyn SerialInput>>,
keep_rds: &mut Vec<RawDescriptor>,
) -> Result<T, Error>