pub trait TransmitClient<const PACKET_SIZE: usize> {
    // Required method
    fn transmit_complete(
        &self,
        status: Result<(), Error>,
        buffer: &'static mut [u8; PACKET_SIZE],
    );
}Expand description
Client interface for capsules that implement the Transmit trait.
Required Methods§
Sourcefn transmit_complete(
    &self,
    status: Result<(), Error>,
    buffer: &'static mut [u8; PACKET_SIZE],
)
 
fn transmit_complete( &self, status: Result<(), Error>, buffer: &'static mut [u8; PACKET_SIZE], )
The driver calls this function when there is an update of the last message that was transmitted
§Arguments:
- status- The status for the request- Ok()- There was no error during the transmission process
- Err(Error)- The error that occurred during the transmission process
 
- buffer- The buffer received as an argument for the- sendfunction