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

Struct

AsyncCopyBlock

pub struct AsyncCopyBlock {
    pub from: FileHandle,
    pub to: FileHandle,
    pub len: usize,
}

Fields

from: FileHandleto: FileHandlelen: usize

Trait Implementations

impl AsScalar<4> for AsyncCopyBlock

fn as_scalar(&self) -> [u32; 4]

impl BlockingScalar for AsyncCopyBlock

type Response = Result<usize, Error>

response type for this message

impl Debug for AsyncCopyBlock

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

Formats the value using the given formatter. Read more

impl FromScalar<4> for AsyncCopyBlock

fn from_scalar([from, to, len, _]: [u32; 4]) -> Self

impl MessageId for AsyncCopyBlock

const ID: MessageId = 27usize

unique message identifier

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

target server name

Auto Trait Implementations

impl Freeze for AsyncCopyBlock

impl RefUnwindSafe for AsyncCopyBlock

impl Send for AsyncCopyBlock

impl Sync for AsyncCopyBlock

impl Unpin for AsyncCopyBlock

impl UnsafeUnpin for AsyncCopyBlock

impl UnwindSafe for AsyncCopyBlock