Skip to main content

NSFileManagerDelegate

Trait NSFileManagerDelegate 

Source
pub unsafe trait NSFileManagerDelegate: NSObjectProtocol {
Show 16 methods // Provided methods fn fileManager_shouldCopyItemAtPath_toPath( &self, file_manager: &NSFileManager, src_path: &NSString, dst_path: &NSString, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldCopyItemAtURL_toURL( &self, file_manager: &NSFileManager, src_url: &NSURL, dst_url: &NSURL, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldProceedAfterError_copyingItemAtPath_toPath( &self, file_manager: &NSFileManager, error: &NSError, src_path: &NSString, dst_path: &NSString, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldProceedAfterError_copyingItemAtURL_toURL( &self, file_manager: &NSFileManager, error: &NSError, src_url: &NSURL, dst_url: &NSURL, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldMoveItemAtPath_toPath( &self, file_manager: &NSFileManager, src_path: &NSString, dst_path: &NSString, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldMoveItemAtURL_toURL( &self, file_manager: &NSFileManager, src_url: &NSURL, dst_url: &NSURL, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldProceedAfterError_movingItemAtPath_toPath( &self, file_manager: &NSFileManager, error: &NSError, src_path: &NSString, dst_path: &NSString, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldProceedAfterError_movingItemAtURL_toURL( &self, file_manager: &NSFileManager, error: &NSError, src_url: &NSURL, dst_url: &NSURL, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldLinkItemAtPath_toPath( &self, file_manager: &NSFileManager, src_path: &NSString, dst_path: &NSString, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldLinkItemAtURL_toURL( &self, file_manager: &NSFileManager, src_url: &NSURL, dst_url: &NSURL, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldProceedAfterError_linkingItemAtPath_toPath( &self, file_manager: &NSFileManager, error: &NSError, src_path: &NSString, dst_path: &NSString, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldProceedAfterError_linkingItemAtURL_toURL( &self, file_manager: &NSFileManager, error: &NSError, src_url: &NSURL, dst_url: &NSURL, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldRemoveItemAtPath( &self, file_manager: &NSFileManager, path: &NSString, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldRemoveItemAtURL( &self, file_manager: &NSFileManager, url: &NSURL, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldProceedAfterError_removingItemAtPath( &self, file_manager: &NSFileManager, error: &NSError, path: &NSString, ) -> bool where Self: Sized + Message { ... } fn fileManager_shouldProceedAfterError_removingItemAtURL( &self, file_manager: &NSFileManager, error: &NSError, url: &NSURL, ) -> bool where Self: Sized + Message { ... }
}
Available on crate feature NSFileManager only.
Expand description

Provided Methods§

Source

fn fileManager_shouldCopyItemAtPath_toPath( &self, file_manager: &NSFileManager, src_path: &NSString, dst_path: &NSString, ) -> bool
where Self: Sized + Message,

Available on crate feature NSString only.
Source

fn fileManager_shouldCopyItemAtURL_toURL( &self, file_manager: &NSFileManager, src_url: &NSURL, dst_url: &NSURL, ) -> bool
where Self: Sized + Message,

Available on crate feature NSURL only.
Source

fn fileManager_shouldProceedAfterError_copyingItemAtPath_toPath( &self, file_manager: &NSFileManager, error: &NSError, src_path: &NSString, dst_path: &NSString, ) -> bool
where Self: Sized + Message,

Available on crate features NSError and NSString only.
Source

fn fileManager_shouldProceedAfterError_copyingItemAtURL_toURL( &self, file_manager: &NSFileManager, error: &NSError, src_url: &NSURL, dst_url: &NSURL, ) -> bool
where Self: Sized + Message,

Available on crate features NSError and NSURL only.
Source

fn fileManager_shouldMoveItemAtPath_toPath( &self, file_manager: &NSFileManager, src_path: &NSString, dst_path: &NSString, ) -> bool
where Self: Sized + Message,

Available on crate feature NSString only.
Source

fn fileManager_shouldMoveItemAtURL_toURL( &self, file_manager: &NSFileManager, src_url: &NSURL, dst_url: &NSURL, ) -> bool
where Self: Sized + Message,

Available on crate feature NSURL only.
Source

fn fileManager_shouldProceedAfterError_movingItemAtPath_toPath( &self, file_manager: &NSFileManager, error: &NSError, src_path: &NSString, dst_path: &NSString, ) -> bool
where Self: Sized + Message,

Available on crate features NSError and NSString only.
Source

fn fileManager_shouldProceedAfterError_movingItemAtURL_toURL( &self, file_manager: &NSFileManager, error: &NSError, src_url: &NSURL, dst_url: &NSURL, ) -> bool
where Self: Sized + Message,

Available on crate features NSError and NSURL only.
Source

fn fileManager_shouldLinkItemAtPath_toPath( &self, file_manager: &NSFileManager, src_path: &NSString, dst_path: &NSString, ) -> bool
where Self: Sized + Message,

Available on crate feature NSString only.
Source

fn fileManager_shouldLinkItemAtURL_toURL( &self, file_manager: &NSFileManager, src_url: &NSURL, dst_url: &NSURL, ) -> bool
where Self: Sized + Message,

Available on crate feature NSURL only.
Source

fn fileManager_shouldProceedAfterError_linkingItemAtPath_toPath( &self, file_manager: &NSFileManager, error: &NSError, src_path: &NSString, dst_path: &NSString, ) -> bool
where Self: Sized + Message,

Available on crate features NSError and NSString only.
Source

fn fileManager_shouldProceedAfterError_linkingItemAtURL_toURL( &self, file_manager: &NSFileManager, error: &NSError, src_url: &NSURL, dst_url: &NSURL, ) -> bool
where Self: Sized + Message,

Available on crate features NSError and NSURL only.
Source

fn fileManager_shouldRemoveItemAtPath( &self, file_manager: &NSFileManager, path: &NSString, ) -> bool
where Self: Sized + Message,

Available on crate feature NSString only.
Source

fn fileManager_shouldRemoveItemAtURL( &self, file_manager: &NSFileManager, url: &NSURL, ) -> bool
where Self: Sized + Message,

Available on crate feature NSURL only.
Source

fn fileManager_shouldProceedAfterError_removingItemAtPath( &self, file_manager: &NSFileManager, error: &NSError, path: &NSString, ) -> bool
where Self: Sized + Message,

Available on crate features NSError and NSString only.
Source

fn fileManager_shouldProceedAfterError_removingItemAtURL( &self, file_manager: &NSFileManager, error: &NSError, url: &NSURL, ) -> bool
where Self: Sized + Message,

Available on crate features NSError and NSURL only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSFileManagerDelegate

Source§

impl ProtocolType for dyn NSFileManagerDelegate

Source§

const NAME: &'static str = "NSFileManagerDelegate"

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

Implementors§