autd3_driver::datagram

Trait DatagramST

source
pub trait DatagramST: 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<'a> DatagramST for BoxedModulation<'a>

source§

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

source§

type G = GainSTMOperationGenerator<G>

source§

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

source§

type G = FociSTMOperationGenerator<N>