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

Struct

ReadBlocks

pub struct ReadBlocks {
    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 ReadBlocks

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

Formats the value using the given formatter. Read more

impl From<ReadBlocks> for SimpleMemoryMessage

fn from(read: ReadBlocks) -> Self

Converts to this type from the input type.

impl From<SimpleMemoryMessage> for ReadBlocks

fn from(msg: SimpleMemoryMessage) -> Self

Converts to this type from the input type.

impl LendMut for ReadBlocks

type Response = Result<usize, Error>

impl MessageId for ReadBlocks

const ID: MessageId = 17usize

unique message identifier

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

target server name

Auto Trait Implementations

impl Freeze for ReadBlocks

impl RefUnwindSafe for ReadBlocks

impl Send for ReadBlocks

impl Sync for ReadBlocks

impl Unpin for ReadBlocks

impl UnsafeUnpin for ReadBlocks

impl UnwindSafe for ReadBlocks