Skip to main content

NSFileProviderTestingCreation

Trait NSFileProviderTestingCreation 

Source
pub unsafe trait NSFileProviderTestingCreation: NSFileProviderTestingOperation {
    // Provided methods
    unsafe fn targetSide(&self) -> NSFileProviderTestingOperationSide
       where Self: Sized + Message { ... }
    unsafe fn sourceItem(&self) -> Retained<NSFileProviderItem>
       where Self: Sized + Message { ... }
    unsafe fn domainVersion(
        &self,
    ) -> Option<Retained<NSFileProviderDomainVersion>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSFileProviderTesting only.
Expand description

This operation causes the system to propagate a creation of an item from a source side to a target side.

See also Apple’s documentation

Provided Methods§

Source

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

The target side of the operation.

Source

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

Available on crate feature NSFileProviderItem only.

The description of the item.

Source

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

Available on crate feature NSFileProviderDomain only.

The domain version at the time the creation was discovered on the source side.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSFileProviderTestingCreation

Source§

impl ProtocolType for dyn NSFileProviderTestingCreation

Source§

const NAME: &'static str = "NSFileProviderTestingCreation"

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> NSFileProviderTestingCreation for ProtocolObject<T>

Implementors§