Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

WriteBlocks

pub struct WriteBlocks {
    pub buf: MemoryRange,
    pub block_index: u32,
    pub block_count: usize,
    pub location: Location,
}

Fields

buf: MemoryRangeblock_index: u32block_count: usizelocation: Location

Trait Implementations

impl Debug for WriteBlocks

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

impl From<SimpleMemoryMessage> for WriteBlocks

fn from(msg: SimpleMemoryMessage) -> Self

Converts to this type from the input type.

impl From<WriteBlocks> for SimpleMemoryMessage

fn from(write: WriteBlocks) -> Self

Converts to this type from the input type.

impl LendMut for WriteBlocks

type Response = Result<usize, Error>

impl MessageId for WriteBlocks

const ID: MessageId = 18usize

unique message identifier

const SERVER: &'static str = "os/fs"

target server name

Auto Trait Implementations

impl Freeze for WriteBlocks

impl RefUnwindSafe for WriteBlocks

impl Send for WriteBlocks

impl Sync for WriteBlocks

impl Unpin for WriteBlocks

impl UnsafeUnpin for WriteBlocks

impl UnwindSafe for WriteBlocks