NSFileProviderPendingSetEnumerator

Trait NSFileProviderPendingSetEnumerator 

Source
pub unsafe trait NSFileProviderPendingSetEnumerator: NSFileProviderEnumerator {
    // Provided methods
    unsafe fn domainVersion(
        &self,
    ) -> Option<Retained<NSFileProviderDomainVersion>>
       where Self: Sized + Message { ... }
    unsafe fn refreshInterval(&self) -> NSTimeInterval
       where Self: Sized + Message { ... }
    unsafe fn isMaximumSizeReached(&self) -> bool
       where Self: Sized + Message { ... }
}
Available on crate features Extension and NSFileProviderEnumerating only.
Expand description

Provided Methods§

Source

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

Available on crate feature NSFileProviderDomain only.

The version of the domain when the pending set was last refreshed by the system.

This property is updated when the enumeration methods are called on the pending set enumerator. The value is initially nil.

Source

unsafe fn refreshInterval(&self) -> NSTimeInterval
where Self: Sized + Message,

The amount of time in seconds at which the pending set is refreshed on modifications.

Source

unsafe fn isMaximumSizeReached(&self) -> bool
where Self: Sized + Message,

This property is set to YES when the enumeration of the pending set was capped at or below its maximum size. Under normal conditions, the count of items pending sync will get lower as sync progresses, and this variable will eventually be set to NO when the pending set again includes all items pending sync.

Trait Implementations§

Source§

impl ProtocolType for dyn NSFileProviderPendingSetEnumerator

Source§

const NAME: &'static str = "NSFileProviderPendingSetEnumerator"

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 NSFileProviderPendingSetEnumerator

Implementations on Foreign Types§

Source§

impl<T> NSFileProviderPendingSetEnumerator for ProtocolObject<T>

Implementors§