Struct xpcom::interfaces::nsIURLFormatter [] [src]

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

interface nsIURLFormatter : nsISupports

Methods

impl nsIURLFormatter
[src]

[src]

Cast this nsIURLFormatter to one of its base interfaces.

impl nsIURLFormatter
[src]

[src]

/**
   * formatURL - Formats a string URL
   *
   * The set of known variables is predefined.
   * If a variable is unknown, it is left unchanged and a non-fatal error is reported.
   *
   * @param aFormat string Unformatted URL.
   *
   * @return The formatted URL.
   */

AString formatURL (in AString aFormat);

[src]

/**
   * formatURLPref - Formats a string URL stored in a preference
   *
   * If the preference value cannot be retrieved, a fatal error is reported
   * and the "about:blank" URL is returned.
   *
   * @param aPref string Preference name.
   *
   * @return The formatted URL returned by formatURL(), or "about:blank".
   */

AString formatURLPref (in AString aPref);

[src]

/**
   * Remove all of the sensitive query parameter strings from URLs in |aMsg|.
   */

AString trimSensitiveURLs (in AString aMsg);

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

IID: nsIID = nsID(1253252400, 14125, 4571, [169, 139, 8, 0, 32, 12, 154, 102])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIURLFormatter
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.