Struct xpcom::interfaces::nsIDashboard
[−]
[src]
#[repr(C)]pub struct nsIDashboard { /* fields omitted */ }
interface nsIDashboard : nsISupports
Methods
impl nsIDashboard
[src]
pub fn coerce<T: nsIDashboardCoerce>(&self) -> &T
[src]
Cast this nsIDashboard
to one of its base interfaces.
impl nsIDashboard
[src]
pub unsafe fn RequestSockets(&self, cb: *const NetDashboardCallback) -> nsresult
[src]
void requestSockets (in NetDashboardCallback cb);
pub unsafe fn RequestHttpConnections(
&self,
cb: *const NetDashboardCallback
) -> nsresult
[src]
&self,
cb: *const NetDashboardCallback
) -> nsresult
void requestHttpConnections (in NetDashboardCallback cb);
pub unsafe fn RequestWebsocketConnections(
&self,
cb: *const NetDashboardCallback
) -> nsresult
[src]
&self,
cb: *const NetDashboardCallback
) -> nsresult
void requestWebsocketConnections (in NetDashboardCallback cb);
pub unsafe fn RequestDNSInfo(&self, cb: *const NetDashboardCallback) -> nsresult
[src]
void requestDNSInfo (in NetDashboardCallback cb);
pub unsafe fn RequestConnection(
&self,
aHost: &nsACString,
aPort: uint32_t,
aProtocol: *const c_char,
aTimeout: uint32_t,
cb: *const NetDashboardCallback
) -> nsresult
[src]
&self,
aHost: &nsACString,
aPort: uint32_t,
aProtocol: *const c_char,
aTimeout: uint32_t,
cb: *const NetDashboardCallback
) -> nsresult
void requestConnection (in ACString aHost, in unsigned long aPort, in string aProtocol, in unsigned long aTimeout, in NetDashboardCallback cb);
pub unsafe fn GetEnableLogging(&self, aEnableLogging: *mut bool) -> nsresult
[src]
attribute boolean enableLogging;
pub unsafe fn SetEnableLogging(&self, aEnableLogging: bool) -> nsresult
[src]
attribute boolean enableLogging;
pub unsafe fn RequestDNSLookup(
&self,
aHost: &nsACString,
cb: *const NetDashboardCallback
) -> nsresult
[src]
&self,
aHost: &nsACString,
cb: *const NetDashboardCallback
) -> nsresult
void requestDNSLookup (in ACString aHost, in NetDashboardCallback cb);
pub unsafe fn RequestRcwnStats(
&self,
cb: *const NetDashboardCallback
) -> nsresult
[src]
&self,
cb: *const NetDashboardCallback
) -> nsresult
/**
* Asyncly returns stats regarding the "Race Cache With Network" feature.
*/
void requestRcwnStats (in NetDashboardCallback cb);
pub unsafe fn GetLogPath(&self, _retval: &mut nsACString) -> nsresult
[src]
AUTF8String getLogPath ();
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 nsIDashboard
[src]
const IID: nsIID
IID: nsIID = nsID(3349066694, 2330, 17830, [133, 68, 90, 141, 26, 183, 149, 55])
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 nsIDashboard
[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 nsIDashboard
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.