NSFileProviderTestingDeletion

Trait NSFileProviderTestingDeletion 

Source
pub unsafe trait NSFileProviderTestingDeletion: NSFileProviderTestingOperation {
    // Provided methods
    unsafe fn targetSide(&self) -> NSFileProviderTestingOperationSide
       where Self: Sized + Message { ... }
    unsafe fn sourceItemIdentifier(
        &self,
    ) -> Retained<NSFileProviderItemIdentifier>
       where Self: Sized + Message { ... }
    unsafe fn targetItemIdentifier(
        &self,
    ) -> Retained<NSFileProviderItemIdentifier>
       where Self: Sized + Message { ... }
    unsafe fn targetItemBaseVersion(
        &self,
    ) -> Retained<NSFileProviderItemVersion>
       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 deletion from a source side to a target side.

The deletion happens if an item that is known by the target side is deleted on the source 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 sourceItemIdentifier(&self) -> Retained<NSFileProviderItemIdentifier>
where Self: Sized + Message,

Available on crate feature NSFileProviderItem only.

The identifier of the source item.

Source

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

Available on crate feature NSFileProviderItem only.

The identifier of the target item.

Source

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

Available on crate feature NSFileProviderItem only.

The version of the target item on top of which the deletion is applied

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 change was discovered on the source side.

Trait Implementations§

Source§

impl ProtocolType for dyn NSFileProviderTestingDeletion

Source§

const NAME: &'static str = "NSFileProviderTestingDeletion"

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 NSFileProviderTestingDeletion

Implementations on Foreign Types§

Source§

impl<T> NSFileProviderTestingDeletion for ProtocolObject<T>

Implementors§