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

Trait

MapFilePermissions

pub trait MapFilePermissions: CheckedPermissions + MessageAllowed<MapFileMessage> { }
Expand description

Permissions FileSystem::map_file requires. The device sends one map message; the hosted build has no page-mirroring syscall and reads the file instead, so there it needs the file read messages.

Dyn Compatibility

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors

impl<P> MapFilePermissions for P
where P: CheckedPermissions + MessageAllowed<MapFileMessage>,