autd3_driver::datagram

Trait DatagramS

source
pub trait DatagramS: Debug {
    type G: OperationGenerator;

    // Required methods
    fn operation_generator_with_segment(
        self,
        geometry: &Geometry,
        segment: Segment,
        transition_mode: Option<TransitionMode>,
    ) -> Result<Self::G, AUTDInternalError>;
    fn timeout(&self) -> Option<Duration>;

    // Provided method
    fn parallel_threshold(&self) -> Option<usize> { ... }
}

Required Associated Types§

Required Methods§

source

fn operation_generator_with_segment( self, geometry: &Geometry, segment: Segment, transition_mode: Option<TransitionMode>, ) -> Result<Self::G, AUTDInternalError>

source

fn timeout(&self) -> Option<Duration>

Provided Methods§

Implementors§

source§

impl DatagramS for BoxedGain

source§

impl DatagramS for BoxedModulation

source§

impl<G: Gain> DatagramS for GainSTM<G>

source§

type G = GainSTMOperationGenerator<<G as Gain>::G>

source§

impl<const N: usize> DatagramS for FociSTM<N>

source§

type G = FociSTMOperationGenerator<N>