Struct xpcom::interfaces::nsIDeprecationWarner [] [src]

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

interface nsIDeprecationWarner : nsISupports

/**
 * Interface for warning about deprecated operations.  Consumers should
 * attach this interface to the channel's notification callbacks/loadgroup.
 */

Methods

impl nsIDeprecationWarner
[src]

[src]

Cast this nsIDeprecationWarner to one of its base interfaces.

impl nsIDeprecationWarner
[src]

[src]

/**
     * Issue a deprecation warning.
     *
     * @param aWarning a warning code as declared in nsDeprecatedOperationList.h.
     * @param aAsError optional boolean flag indicating whether the warning
     *                 should be treated as an error.
     */

void issueWarning (in uint32_t aWarning, [optional] in bool aAsError);

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

IID: nsIID = nsID(1717326116, 11346, 16826, [174, 114, 35, 147, 248, 231, 108, 37])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDeprecationWarner
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.