Trait Datagram

Source
pub trait Datagram: Debug {
    // Provided method
    fn option(&self) -> DatagramOption { ... }
}
Expand description

Datagram represents the data sent to the device.

Provided Methods§

Source

fn option(&self) -> DatagramOption

Returns the option of the datagram.

Implementations on Foreign Types§

Source§

impl<G1, G2, D1, D2, E1, E2> Datagram for (D1, D2)
where D1: Datagram<G = G1, Error = E1>, D2: Datagram<G = G2, Error = E2>,

Implementors§

Source§

impl Datagram for SwapSegment

Source§

impl Datagram for BoxedDatagram

Source§

impl Datagram for Clear

Source§

impl Datagram for Synchronize

Source§

impl<D> Datagram for D
where D: DatagramS,

Source§

impl<D: DatagramL> Datagram for WithLoopBehavior<D>

Source§

impl<D: DatagramS> Datagram for WithSegment<D>

Source§

impl<F: Fn(&Device) -> bool> Datagram for ForceFan<F>

Source§

impl<F: Fn(&Device) -> bool> Datagram for ReadsFPGAState<F>

Source§

impl<F: Fn(&Device, GPIOOut) -> DebugType<'_> + Send + Sync> Datagram for GPIOOutputs<F>

Source§

impl<FT: Fn(&Transducer) -> Phase + Send + Sync, F: Fn(&Device) -> FT> Datagram for PhaseCorrection<FT, F>

Source§

impl<H: Fn(EmitIntensity) -> u8 + Send + Sync, F: Fn(&Device) -> H> Datagram for PulseWidthEncoder<H, F>

Source§

impl<T: SilencerConfig> Datagram for Silencer<T>
where SilencerOpGenerator<T>: OperationGenerator,