Skip to main content

BlockWriteCommand

Trait BlockWriteCommand 

Source
pub trait BlockWriteCommand: BlockCommand {
    // Required method
    fn buf(&self) -> &Aligned<A4, [u8]>;
}
Expand description

BlockWriteCommand: block-mode write (CMD24, CMD25)

Required Methods§

Source

fn buf(&self) -> &Aligned<A4, [u8]>

Buffer for block-mode writes. The length of this buffer must be block_size() * block_count()

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a, const BLOCK_SIZE: usize> BlockWriteCommand for Cmd24<'a, BLOCK_SIZE>

Source§

impl<'a, const BLOCK_SIZE: usize> BlockWriteCommand for Cmd25<'a, BLOCK_SIZE>

Source§

impl<'a, const BLOCK_SIZE: usize> BlockWriteCommand for Cmd53BlockWrite<'a, BLOCK_SIZE>