Struct xpcom::interfaces::nsIQuotaRequest
[−]
[src]
#[repr(C)]pub struct nsIQuotaRequest { /* fields omitted */ }
interface nsIQuotaRequest : nsIQuotaRequestBase
Methods
impl nsIQuotaRequest
[src]
pub fn coerce<T: nsIQuotaRequestCoerce>(&self) -> &T
[src]
Cast this nsIQuotaRequest
to one of its base interfaces.
impl nsIQuotaRequest
[src]
pub unsafe fn GetResult(&self, aResult: *mut *const nsIVariant) -> nsresult
[src]
[must_use] readonly attribute nsIVariant result;
pub unsafe fn GetCallback(
&self,
aCallback: *mut *const nsIQuotaCallback
) -> nsresult
[src]
&self,
aCallback: *mut *const nsIQuotaCallback
) -> nsresult
attribute nsIQuotaCallback callback;
pub unsafe fn SetCallback(&self, aCallback: *const nsIQuotaCallback) -> nsresult
[src]
attribute nsIQuotaCallback callback;
Methods from Deref<Target = nsIQuotaRequestBase>
pub fn coerce<T: nsIQuotaRequestBaseCoerce>(&self) -> &T
[src]
Cast this nsIQuotaRequestBase
to one of its base interfaces.
pub unsafe fn GetPrincipal(
&self,
aPrincipal: *mut *const nsIPrincipal
) -> nsresult
[src]
&self,
aPrincipal: *mut *const nsIPrincipal
) -> nsresult
readonly attribute nsIPrincipal principal;
pub unsafe fn GetResultCode(&self, aResultCode: *mut nsresult) -> nsresult
[src]
[must_use] readonly attribute nsresult resultCode;
Trait Implementations
impl XpCom for nsIQuotaRequest
[src]
const IID: nsIID
IID: nsIID = nsID(579407422, 65317, 17266, [150, 132, 217, 1, 6, 14, 47, 108])
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 nsIQuotaRequest
[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 nsIQuotaRequest
[src]
type Target = nsIQuotaRequestBase
The resulting type after dereferencing.
fn deref(&self) -> &nsIQuotaRequestBase
[src]
Dereferences the value.