#[repr(C)]pub struct Config {
pub character_width: CharacterWidth,
pub stop_width: StopWidth,
pub parity: Parity,
pub control_flow: FlowControl,
pub baud_rate: Uint32,
}Expand description
The wire type corresponding to Config.
Fields§
§character_width: CharacterWidth§stop_width: StopWidth§parity: Parity§control_flow: FlowControl§baud_rate: Uint32Trait Implementations§
Source§impl<___E> Encode<Config, ___E> for Configwhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<Config, ___E> for Configwhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, Config>
const COPY_OPTIMIZATION: CopyOptimization<Self, Config>
Source§impl<'a, ___E> Encode<Config, ___E> for &'a Configwhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<Config, ___E> for &'a Configwhere
___E: InternalHandleEncoder + ?Sized,
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>,
Source§impl FromWireRef<Config> for Config
impl FromWireRef<Config> for Config
Source§fn from_wire_ref(wire: &Config) -> Self
fn from_wire_ref(wire: &Config) -> Self
Converts the given reference to this type.
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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]