Struct xpcom::interfaces::nsIDiskSpaceWatcher
[−]
[src]
#[repr(C)]pub struct nsIDiskSpaceWatcher { /* fields omitted */ }
interface nsIDiskSpaceWatcher : nsISupports
Methods
impl nsIDiskSpaceWatcher
[src]
pub fn coerce<T: nsIDiskSpaceWatcherCoerce>(&self) -> &T
[src]
Cast this nsIDiskSpaceWatcher
to one of its base interfaces.
impl nsIDiskSpaceWatcher
[src]
pub unsafe fn GetIsDiskFull(&self, aIsDiskFull: *mut bool) -> nsresult
[src]
readonly attribute bool isDiskFull;
pub unsafe fn GetFreeSpace(&self, aFreeSpace: *mut uint64_t) -> nsresult
[src]
readonly attribute unsigned long long freeSpace;
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 nsIDiskSpaceWatcher
[src]
const IID: nsIID
IID: nsIID = nsID(986626676, 11989, 20121, [143, 228, 6, 233, 14, 43, 142, 240])
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 nsIDiskSpaceWatcher
[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 nsIDiskSpaceWatcher
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.