Struct xpcom::interfaces::nsIProfileLock [] [src]

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

interface nsIProfileLock : nsISupports

/**
 * Hold on to a profile lock. Once you release the last reference to this
 * interface, the profile lock is released.
 */

Methods

impl nsIProfileLock
[src]

[src]

Cast this nsIProfileLock to one of its base interfaces.

impl nsIProfileLock
[src]

[src]

/**
     * The main profile directory.
     */

readonly attribute nsIFile directory;

[src]

/**
     * A directory corresponding to the main profile directory that exists for
     * the purpose of storing data on the local filesystem, including cache
     * files or other data files that may not represent critical user data.
     * (e.g., this directory may not be included as part of a backup scheme.)
     *
     * In some cases, this directory may just be the main profile directory.
     */

readonly attribute nsIFile localDirectory;

[src]

/**
     * The timestamp of an existing profile lock at lock time.
     */

readonly attribute PRTime replacedLockTime;

[src]

/**
     * Unlock the profile.
     */

void unlock ();

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

IID: nsIID = nsID(2086192899, 53829, 18532, [141, 117, 150, 72, 202, 74, 97, 57])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIProfileLock
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.