NSFileProviderTestingIngestion

Trait NSFileProviderTestingIngestion 

Source
pub unsafe trait NSFileProviderTestingIngestion: NSFileProviderTestingOperation {
    // Provided methods
    unsafe fn side(&self) -> NSFileProviderTestingOperationSide
       where Self: Sized + Message { ... }
    unsafe fn itemIdentifier(&self) -> Retained<NSFileProviderItemIdentifier>
       where Self: Sized + Message { ... }
    unsafe fn item(&self) -> Option<Retained<NSFileProviderItem>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSFileProviderTesting only.
Expand description

This operation causes the system to ingest a change.

When running this operation, the system will discover a change from the disk or the provider.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn side(&self) -> NSFileProviderTestingOperationSide
where Self: Sized + Message,

Side of the event.

Source

unsafe fn itemIdentifier(&self) -> Retained<NSFileProviderItemIdentifier>
where Self: Sized + Message,

Available on crate feature NSFileProviderItem only.

Identifier of the affected item.

Source

unsafe fn item(&self) -> Option<Retained<NSFileProviderItem>>
where Self: Sized + Message,

Available on crate feature NSFileProviderItem only.

The metadata of the item.

This will be nil if the item is being deleted.

Trait Implementations§

Source§

impl ProtocolType for dyn NSFileProviderTestingIngestion

Source§

const NAME: &'static str = "NSFileProviderTestingIngestion"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn NSFileProviderTestingIngestion

Implementations on Foreign Types§

Source§

impl<T> NSFileProviderTestingIngestion for ProtocolObject<T>

Implementors§