Struct xpcom::interfaces::nsIPKCS11Slot [] [src]

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

interface nsIPKCS11Slot : nsISupports

Methods

impl nsIPKCS11Slot
[src]

[src]

Cast this nsIPKCS11Slot to one of its base interfaces.

impl nsIPKCS11Slot
[src]

SLOT_DISABLED: i64 = 0

SLOT_NOT_PRESENT: i64 = 1

SLOT_UNINITIALIZED: i64 = 2

SLOT_NOT_LOGGED_IN: i64 = 3

SLOT_LOGGED_IN: i64 = 4

SLOT_READY: i64 = 5

[src]

[must_use] readonly attribute AUTF8String name;

[src]

[must_use] readonly attribute AUTF8String desc;

[src]

/**
   * Manufacturer ID of the slot.
   */

[must_use] readonly attribute AUTF8String manID;

[src]

/**
   * Hardware version of the slot.
   */

[must_use] readonly attribute AUTF8String HWVersion;

[src]

/**
   * Firmware version of the slot.
   */

[must_use] readonly attribute AUTF8String FWVersion;

[src]

[must_use] readonly attribute unsigned long status;

[src]

[must_use] nsIPK11Token getToken ();

[src]

[must_use] readonly attribute AUTF8String tokenName;

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

IID: nsIID = nsID(3268735638, 61024, 4564, [153, 139, 0, 176, 208, 35, 84, 160])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPKCS11Slot
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.