Struct xpcom::interfaces::nsIWorkerDebugger
[−]
[src]
#[repr(C)]pub struct nsIWorkerDebugger { /* fields omitted */ }
interface nsIWorkerDebugger : nsISupports
Methods
impl nsIWorkerDebugger
[src]
pub fn coerce<T: nsIWorkerDebuggerCoerce>(&self) -> &T
[src]
Cast this nsIWorkerDebugger
to one of its base interfaces.
impl nsIWorkerDebugger
[src]
pub const TYPE_DEDICATED: i64
TYPE_DEDICATED: i64 = 0
pub const TYPE_SHARED: i64
TYPE_SHARED: i64 = 1
pub const TYPE_SERVICE: i64
TYPE_SERVICE: i64 = 2
pub unsafe fn GetIsClosed(&self, aIsClosed: *mut bool) -> nsresult
[src]
readonly attribute bool isClosed;
pub unsafe fn GetIsChrome(&self, aIsChrome: *mut bool) -> nsresult
[src]
readonly attribute bool isChrome;
pub unsafe fn GetIsInitialized(&self, aIsInitialized: *mut bool) -> nsresult
[src]
readonly attribute bool isInitialized;
pub unsafe fn GetParent(
&self,
aParent: *mut *const nsIWorkerDebugger
) -> nsresult
[src]
&self,
aParent: *mut *const nsIWorkerDebugger
) -> nsresult
readonly attribute nsIWorkerDebugger parent;
pub unsafe fn GetType(&self, aType: *mut uint32_t) -> nsresult
[src]
readonly attribute unsigned long type;
pub unsafe fn GetUrl(&self, aUrl: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString url;
pub unsafe fn GetWindow(&self, aWindow: *mut *const mozIDOMWindow) -> nsresult
[src]
readonly attribute mozIDOMWindow window;
pub unsafe fn GetPrincipal(
&self,
aPrincipal: *mut *const nsIPrincipal
) -> nsresult
[src]
&self,
aPrincipal: *mut *const nsIPrincipal
) -> nsresult
readonly attribute nsIPrincipal principal;
pub unsafe fn GetServiceWorkerID(
&self,
aServiceWorkerID: *mut uint32_t
) -> nsresult
[src]
&self,
aServiceWorkerID: *mut uint32_t
) -> nsresult
readonly attribute unsigned long serviceWorkerID;
pub unsafe fn Initialize(&self, url: &nsAString) -> nsresult
[src]
void initialize (in DOMString url);
pub unsafe fn PostMessageMoz(&self, message: &nsAString) -> nsresult
[src]
[binaryname(PostMessageMoz)] void postMessage (in DOMString message);
pub unsafe fn AddListener(
&self,
listener: *const nsIWorkerDebuggerListener
) -> nsresult
[src]
&self,
listener: *const nsIWorkerDebuggerListener
) -> nsresult
void addListener (in nsIWorkerDebuggerListener listener);
pub unsafe fn RemoveListener(
&self,
listener: *const nsIWorkerDebuggerListener
) -> nsresult
[src]
&self,
listener: *const nsIWorkerDebuggerListener
) -> nsresult
void removeListener (in nsIWorkerDebuggerListener listener);
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 nsIWorkerDebugger
[src]
const IID: nsIID
IID: nsIID = nsID(586758819, 35333, 18110, [135, 224, 250, 147, 191, 138, 142, 255])
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 nsIWorkerDebugger
[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 nsIWorkerDebugger
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.