Struct xpcom::interfaces::nsIAsyncFileMetadata [] [src]

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

interface nsIAsyncFileMetadata : nsIFileMetadata

Methods

impl nsIAsyncFileMetadata
[src]

[src]

Cast this nsIAsyncFileMetadata to one of its base interfaces.

impl nsIAsyncFileMetadata
[src]

[src]

/**
     * Asynchronously wait for the object to be ready.
     *
     * @param aCallback The callback will be used when the stream is ready to
     *                  return File metadata. Use a nullptr to cancel a
     *                  previous operation.
     *
     * @param aEventTarget The event target where aCallback will be executed.
     *                     If aCallback is passed, aEventTarget cannot be null.
     */

void asyncWait (in nsIFileMetadataCallback aCallback, in nsIEventTarget aEventTarget);

Methods from Deref<Target = nsIFileMetadata>

[src]

Cast this nsIFileMetadata to one of its base interfaces.

[src]

/**
     * File size in bytes.
     */

readonly attribute long long size;

[src]

/**
     * File last modified time in milliseconds from midnight (00:00:00),
     * January 1, 1970 Greenwich Mean Time (GMT).
     */

readonly attribute long long lastModified;

Trait Implementations

impl XpCom for nsIAsyncFileMetadata
[src]

IID: nsIID = nsID(3725965323, 10682, 19327, [146, 32, 163, 215, 91, 23, 174, 140])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAsyncFileMetadata
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.