Struct xpcom::interfaces::nsILoadContextInfo [] [src]

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

interface nsILoadContextInfo : nsISupports

/**
 * Helper interface to carry informatin about the load context
 * encapsulating origin attributes and IsAnonymous, IsPrivite properties.
 * It shall be used where nsILoadContext cannot be used or is not
 * available.
 */

Methods

impl nsILoadContextInfo
[src]

[src]

Cast this nsILoadContextInfo to one of its base interfaces.

impl nsILoadContextInfo
[src]

NO_APP_ID: i64 = 0

UNKNOWN_APP_ID: i64 = 4294967295

[src]

/**
   * Whether the context is in a Private Browsing mode
   */

readonly attribute boolean isPrivate;

[src]

/**
   * Whether the load is initiated as anonymous
   */

readonly attribute boolean isAnonymous;

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

IID: nsIID = nsID(1432235914, 41462, 16861, [136, 202, 237, 78, 214, 185, 138, 34])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsILoadContextInfo
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.