Struct xpcom::interfaces::nsISerializationHelper [] [src]

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

interface nsISerializationHelper : nsISupports

Methods

impl nsISerializationHelper
[src]

[src]

Cast this nsISerializationHelper to one of its base interfaces.

impl nsISerializationHelper
[src]

[src]

/**
   * Serialize the object to a base64 string. This string can be later passed
   * as an input to deserializeObject method.
   */

ACString serializeToString (in nsISerializable serializable);

[src]

/**
   * Takes base64 encoded string that cointains serialization of a single
   * object. Most commonly, input is result of previous call to
   * serializeToString.
   */

nsISupports deserializeObject (in ACString input);

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

IID: nsIID = nsID(828722191, 13811, 17606, [179, 30, 55, 161, 21, 22, 230, 188])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsISerializationHelper
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.