Struct xpcom::interfaces::nsISubstitutionObserver [] [src]

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

interface nsISubstitutionObserver : nsISupports

/**
 * An observer of substitutions being set or unset on a
 * SubstitutingProtocolHandler. Useful for receiving asynchronous notification
 * in a child process after a substitution has been set in the parent process
 * and is propagated to the child.
 */

Methods

impl nsISubstitutionObserver
[src]

[src]

Cast this nsISubstitutionObserver to one of its base interfaces.

impl nsISubstitutionObserver
[src]

[src]

/**
     * To be called when a substition has been set or unset on a protocol
     * handler. Unset operations are identified by a null URI argument.
     *
     * @param aRoot the root key of the mapping
     * @param aBaseURI the base URI to be substituted for the root key by the
     *        protocol handler. For notifications triggered by unset
     *        operations (i.e., when is a substitution is removed from the
     *        protocol handler) this argument is null.
     */

void onSetSubstitution (in ACString aRoot, in nsIURI aBaseURI);

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 nsISubstitutionObserver
[src]

IID: nsIID = nsID(1227657618, 14339, 20011, [131, 115, 210, 95, 229, 95, 85, 136])

[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 nsISubstitutionObserver
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsISubstitutionObserver
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.