Trait NSFileProviderTestingModification

Source
pub unsafe trait NSFileProviderTestingModification: NSFileProviderTestingOperation {
    // Provided methods
    unsafe fn targetSide(&self) -> NSFileProviderTestingOperationSide
       where Self: Sized + Message { ... }
    unsafe fn sourceItem(&self) -> Retained<NSFileProviderItem>
       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 changedFields(&self) -> NSFileProviderItemFields
       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 modification of an existing item from a source side to a target side.

The modification happens if a change is identified on an item that is already known by both sides.

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 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 modification is applied

Source

unsafe fn changedFields(&self) -> NSFileProviderItemFields
where Self: Sized + Message,

Available on crate feature NSFileProviderItem only.

The list of updated fields.

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 NSFileProviderTestingModification

Source§

const NAME: &'static str = "NSFileProviderTestingModification"

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 NSFileProviderTestingModification

Implementations on Foreign Types§

Source§

impl<T> NSFileProviderTestingModification for ProtocolObject<T>

Implementors§