pub struct Config<T0, T1, T2, T3, T4> {
pub character_width: T0,
pub stop_width: T1,
pub parity: T2,
pub control_flow: T3,
pub baud_rate: T4,
}Expand description
The generic type corresponding to Config.
Fields§
§character_width: T0§stop_width: T1§parity: T2§control_flow: T3§baud_rate: T4Trait Implementations§
Source§impl<___E, T0, T1, T2, T3, T4> Encode<Config, ___E> for Config<T0, T1, T2, T3, T4>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<CharacterWidth, ___E>,
T1: Encode<StopWidth, ___E>,
T2: Encode<Parity, ___E>,
T3: Encode<FlowControl, ___E>,
T4: Encode<Uint32, ___E>,
impl<___E, T0, T1, T2, T3, T4> Encode<Config, ___E> for Config<T0, T1, T2, T3, T4>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<CharacterWidth, ___E>,
T1: Encode<StopWidth, ___E>,
T2: Encode<Parity, ___E>,
T3: Encode<FlowControl, ___E>,
T4: Encode<Uint32, ___E>,
Auto Trait Implementations§
impl<T0, T1, T2, T3, T4> Freeze for Config<T0, T1, T2, T3, T4>
impl<T0, T1, T2, T3, T4> RefUnwindSafe for Config<T0, T1, T2, T3, T4>where
T0: RefUnwindSafe,
T1: RefUnwindSafe,
T2: RefUnwindSafe,
T3: RefUnwindSafe,
T4: RefUnwindSafe,
impl<T0, T1, T2, T3, T4> Send for Config<T0, T1, T2, T3, T4>
impl<T0, T1, T2, T3, T4> Sync for Config<T0, T1, T2, T3, T4>
impl<T0, T1, T2, T3, T4> Unpin for Config<T0, T1, T2, T3, T4>
impl<T0, T1, T2, T3, T4> UnsafeUnpin for Config<T0, T1, T2, T3, T4>
impl<T0, T1, T2, T3, T4> UnwindSafe for Config<T0, T1, T2, T3, T4>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]