Struct xpcom::interfaces::nsIPKCS11Module
[−]
[src]
#[repr(C)]pub struct nsIPKCS11Module { /* fields omitted */ }
interface nsIPKCS11Module : nsISupports
Methods
impl nsIPKCS11Module
[src]
pub fn coerce<T: nsIPKCS11ModuleCoerce>(&self) -> &T
[src]
Cast this nsIPKCS11Module
to one of its base interfaces.
impl nsIPKCS11Module
[src]
pub unsafe fn GetName(&self, aName: &mut nsACString) -> nsresult
[src]
[must_use] readonly attribute AUTF8String name;
pub unsafe fn GetLibName(&self, aLibName: &mut nsACString) -> nsresult
[src]
[must_use] readonly attribute AUTF8String libName;
pub unsafe fn FindSlotByName(
&self,
name: &nsACString,
_retval: *mut *const nsIPKCS11Slot
) -> nsresult
[src]
&self,
name: &nsACString,
_retval: *mut *const nsIPKCS11Slot
) -> nsresult
[must_use] nsIPKCS11Slot findSlotByName (in AUTF8String name);
pub unsafe fn ListSlots(
&self,
_retval: *mut *const nsISimpleEnumerator
) -> nsresult
[src]
&self,
_retval: *mut *const nsISimpleEnumerator
) -> nsresult
[must_use] nsISimpleEnumerator listSlots ();
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 nsIPKCS11Module
[src]
const IID: nsIID
IID: nsIID = nsID(2319760889, 53669, 18228, [189, 90, 52, 237, 127, 229, 100, 194])
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 nsIPKCS11Module
[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 nsIPKCS11Module
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.