Struct xpcom::interfaces::nsIPKCS11Slot
[−]
[src]
#[repr(C)]pub struct nsIPKCS11Slot { /* fields omitted */ }
interface nsIPKCS11Slot : nsISupports
Methods
impl nsIPKCS11Slot
[src]
pub fn coerce<T: nsIPKCS11SlotCoerce>(&self) -> &T
[src]
Cast this nsIPKCS11Slot
to one of its base interfaces.
impl nsIPKCS11Slot
[src]
pub const SLOT_DISABLED: i64
SLOT_DISABLED: i64 = 0
pub const SLOT_NOT_PRESENT: i64
SLOT_NOT_PRESENT: i64 = 1
pub const SLOT_UNINITIALIZED: i64
SLOT_UNINITIALIZED: i64 = 2
pub const SLOT_NOT_LOGGED_IN: i64
SLOT_NOT_LOGGED_IN: i64 = 3
pub const SLOT_LOGGED_IN: i64
SLOT_LOGGED_IN: i64 = 4
pub const SLOT_READY: i64
SLOT_READY: i64 = 5
pub unsafe fn GetName(&self, aName: &mut nsACString) -> nsresult
[src]
[must_use] readonly attribute AUTF8String name;
pub unsafe fn GetDesc(&self, aDesc: &mut nsACString) -> nsresult
[src]
[must_use] readonly attribute AUTF8String desc;
pub unsafe fn GetManID(&self, aManID: &mut nsACString) -> nsresult
[src]
/**
* Manufacturer ID of the slot.
*/
[must_use] readonly attribute AUTF8String manID;
pub unsafe fn GetHWVersion(&self, aHWVersion: &mut nsACString) -> nsresult
[src]
/**
* Hardware version of the slot.
*/
[must_use] readonly attribute AUTF8String HWVersion;
pub unsafe fn GetFWVersion(&self, aFWVersion: &mut nsACString) -> nsresult
[src]
/**
* Firmware version of the slot.
*/
[must_use] readonly attribute AUTF8String FWVersion;
pub unsafe fn GetStatus(&self, aStatus: *mut uint32_t) -> nsresult
[src]
[must_use] readonly attribute unsigned long status;
pub unsafe fn GetToken(&self, _retval: *mut *const nsIPK11Token) -> nsresult
[src]
[must_use] nsIPK11Token getToken ();
pub unsafe fn GetTokenName(&self, aTokenName: &mut nsACString) -> nsresult
[src]
[must_use] readonly attribute AUTF8String tokenName;
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIPKCS11Slot
[src]
const IID: nsIID
IID: nsIID = nsID(3268735638, 61024, 4564, [153, 139, 0, 176, 208, 35, 84, 160])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIPKCS11Slot
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.