Skip to content
#

filesystem-events

Here are 33 public repositories matching this topic...

notify
pickfire
pickfire commented Feb 23, 2020

Since there can only be one RecommendedWatcher, why do we still need to explicitly specify the type? Taken from the new docs.

use notify::{Watcher, RecommendedWatcher, RecursiveMode, Result};

fn main() -> Result<()> {
    // Automatically select the best implementation for your platform.
    let mut watcher: RecommendedWatcher = Watcher::new_immediate(|res| {
        match res 
good first issue doc

Improve this page

Add a description, image, and links to the filesystem-events topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the filesystem-events topic, visit your repo's landing page and select "manage topics."

Learn more