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

Struct

FileSystemEvent

pub struct FileSystemEvent {
    pub location: Location,
    pub event_type: FileSystemEventType,
}

Fields

location: Locationevent_type: FileSystemEventType

Trait Implementations

impl AsScalar<2> for FileSystemEvent

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

impl Clone for FileSystemEvent

fn clone(&self) -> FileSystemEvent

Returns a duplicate of the value. Read more
1.0.0

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for FileSystemEvent

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

Formats the value using the given formatter. Read more

impl FromScalar<2> for FileSystemEvent

fn from_scalar([location, event_type]: [u32; 2]) -> Self

impl<P> ScalarEventHandler<FileSystemEvent> for WaitForFs<P>
where P: MessageAllowed<SubscribeFilesystemEvent> + CheckedPermissions,

fn handle( &mut self, msg: FileSystemEvent, _sender: PID, context: &mut ServerContext<Self>, )

Permission: os/fs / SubscribeFilesystemEvent

Permission group: file-system.read-handles

Required signature: thirdParty

Approval: autoAllow

Auto Trait Implementations

impl Freeze for FileSystemEvent

impl RefUnwindSafe for FileSystemEvent

impl Send for FileSystemEvent

impl Sync for FileSystemEvent

impl Unpin for FileSystemEvent

impl UnsafeUnpin for FileSystemEvent

impl UnwindSafe for FileSystemEvent