Skip to main content

NSFileProviderTestingContentFetch

Trait NSFileProviderTestingContentFetch 

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

This operation causes the system to fetch the content of an item.

See also Apple’s documentation

Provided Methods§

Source

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

The side of the operation.

Source

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

Available on crate feature NSFileProviderItem only.

The identifier of the item.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSFileProviderTestingContentFetch

Source§

impl ProtocolType for dyn NSFileProviderTestingContentFetch

Source§

const NAME: &'static str = "NSFileProviderTestingContentFetch"

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> NSFileProviderTestingContentFetch for ProtocolObject<T>

Implementors§