pub trait Transactional<W: 'static> {
    type Error;

    // Required method
    fn exec<'a>(
        &mut self,
        operations: &mut [Operation<'a, W>]
    ) -> Result<(), Self::Error>;
}
Expand description

Transactional trait allows multiple actions to be executed as part of a single SPI transaction

Required Associated Types§

source

type Error

Associated error type

Required Methods§

source

fn exec<'a>( &mut self, operations: &mut [Operation<'a, W>] ) -> Result<(), Self::Error>

Execute the provided transactions

Implementors§