Struct xpcom::interfaces::nsINativeFileWatcherCallback [] [src]

#[repr(C)]
pub struct nsINativeFileWatcherCallback { /* fields omitted */ }

interface nsINativeFileWatcherCallback : nsISupports

/**
 * The interface for the callback invoked when a change on a watched
 * resource is detected.
 */

Methods

impl nsINativeFileWatcherCallback
[src]

[src]

Cast this nsINativeFileWatcherCallback to one of its base interfaces.

impl nsINativeFileWatcherCallback
[src]

[src]

/**
   * @param resourcePath
   *        The path of the changed resource. If there were too many changes,
   *        the string "*" is passed.
   * @param flags Reserved for future uses, not currently used.
   */

void changed (in AString resourcePath, in int32_t flags);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsINativeFileWatcherCallback
[src]

IID: nsIID = nsID(4266493641, 9279, 16789, [181, 68, 174, 206, 61, 244, 184, 106])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsINativeFileWatcherCallback
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsINativeFileWatcherCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.