FileMonitorImpl

Trait FileMonitorImpl 

Source
pub trait FileMonitorImpl: ObjectImpl + ObjectSubclass<Type: IsA<FileMonitor>> {
    // Provided methods
    fn changed(
        &self,
        file: &File,
        other_file: Option<&File>,
        event_type: FileMonitorEvent,
    ) { ... }
    fn cancel(&self) { ... }
}

Provided Methods§

Source

fn changed( &self, file: &File, other_file: Option<&File>, event_type: FileMonitorEvent, )

Source

fn cancel(&self)

Cancels a file monitor.

§Returns

always true

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§