Struct xpcom::interfaces::nsITimedChannel
[−]
[src]
#[repr(C)]pub struct nsITimedChannel { /* fields omitted */ }
interface nsITimedChannel : nsISupports
Methods
impl nsITimedChannel
[src]
pub fn coerce<T: nsITimedChannelCoerce>(&self) -> &T
[src]
Cast this nsITimedChannel
to one of its base interfaces.
impl nsITimedChannel
[src]
pub unsafe fn GetTimingEnabled(&self, aTimingEnabled: *mut bool) -> nsresult
[src]
attribute boolean timingEnabled;
pub unsafe fn SetTimingEnabled(&self, aTimingEnabled: bool) -> nsresult
[src]
attribute boolean timingEnabled;
pub unsafe fn GetRedirectCount(&self, aRedirectCount: *mut uint8_t) -> nsresult
[src]
attribute uint8_t redirectCount;
pub unsafe fn SetRedirectCount(&self, aRedirectCount: uint8_t) -> nsresult
[src]
attribute uint8_t redirectCount;
pub unsafe fn GetInternalRedirectCount(
&self,
aInternalRedirectCount: *mut uint8_t
) -> nsresult
[src]
&self,
aInternalRedirectCount: *mut uint8_t
) -> nsresult
attribute uint8_t internalRedirectCount;
pub unsafe fn SetInternalRedirectCount(
&self,
aInternalRedirectCount: uint8_t
) -> nsresult
[src]
&self,
aInternalRedirectCount: uint8_t
) -> nsresult
attribute uint8_t internalRedirectCount;
pub unsafe fn GetInitiatorType(
&self,
aInitiatorType: &mut nsAString
) -> nsresult
[src]
&self,
aInitiatorType: &mut nsAString
) -> nsresult
[noscript] attribute AString initiatorType;
pub unsafe fn SetInitiatorType(&self, aInitiatorType: &nsAString) -> nsresult
[src]
[noscript] attribute AString initiatorType;
pub unsafe fn GetAllRedirectsSameOrigin(
&self,
aAllRedirectsSameOrigin: *mut bool
) -> nsresult
[src]
&self,
aAllRedirectsSameOrigin: *mut bool
) -> nsresult
[noscript] attribute boolean allRedirectsSameOrigin;
pub unsafe fn SetAllRedirectsSameOrigin(
&self,
aAllRedirectsSameOrigin: bool
) -> nsresult
[src]
&self,
aAllRedirectsSameOrigin: bool
) -> nsresult
[noscript] attribute boolean allRedirectsSameOrigin;
pub unsafe fn GetAllRedirectsPassTimingAllowCheck(
&self,
aAllRedirectsPassTimingAllowCheck: *mut bool
) -> nsresult
[src]
&self,
aAllRedirectsPassTimingAllowCheck: *mut bool
) -> nsresult
[noscript] attribute boolean allRedirectsPassTimingAllowCheck;
pub unsafe fn SetAllRedirectsPassTimingAllowCheck(
&self,
aAllRedirectsPassTimingAllowCheck: bool
) -> nsresult
[src]
&self,
aAllRedirectsPassTimingAllowCheck: bool
) -> nsresult
[noscript] attribute boolean allRedirectsPassTimingAllowCheck;
pub unsafe fn TimingAllowCheck(
&self,
origin: *const nsIPrincipal,
_retval: *mut bool
) -> nsresult
[src]
&self,
origin: *const nsIPrincipal,
_retval: *mut bool
) -> nsresult
[noscript] boolean timingAllowCheck (in nsIPrincipal origin);
pub unsafe fn GetChannelCreationTime(
&self,
aChannelCreationTime: *mut PRTime
) -> nsresult
[src]
&self,
aChannelCreationTime: *mut PRTime
) -> nsresult
readonly attribute PRTime channelCreationTime;
pub unsafe fn GetAsyncOpenTime(&self, aAsyncOpenTime: *mut PRTime) -> nsresult
[src]
readonly attribute PRTime asyncOpenTime;
pub unsafe fn GetLaunchServiceWorkerStartTime(
&self,
aLaunchServiceWorkerStartTime: *mut PRTime
) -> nsresult
[src]
&self,
aLaunchServiceWorkerStartTime: *mut PRTime
) -> nsresult
readonly attribute PRTime launchServiceWorkerStartTime;
pub unsafe fn GetLaunchServiceWorkerEndTime(
&self,
aLaunchServiceWorkerEndTime: *mut PRTime
) -> nsresult
[src]
&self,
aLaunchServiceWorkerEndTime: *mut PRTime
) -> nsresult
readonly attribute PRTime launchServiceWorkerEndTime;
pub unsafe fn GetDispatchFetchEventStartTime(
&self,
aDispatchFetchEventStartTime: *mut PRTime
) -> nsresult
[src]
&self,
aDispatchFetchEventStartTime: *mut PRTime
) -> nsresult
readonly attribute PRTime dispatchFetchEventStartTime;
pub unsafe fn GetDispatchFetchEventEndTime(
&self,
aDispatchFetchEventEndTime: *mut PRTime
) -> nsresult
[src]
&self,
aDispatchFetchEventEndTime: *mut PRTime
) -> nsresult
readonly attribute PRTime dispatchFetchEventEndTime;
pub unsafe fn GetHandleFetchEventStartTime(
&self,
aHandleFetchEventStartTime: *mut PRTime
) -> nsresult
[src]
&self,
aHandleFetchEventStartTime: *mut PRTime
) -> nsresult
readonly attribute PRTime handleFetchEventStartTime;
pub unsafe fn GetHandleFetchEventEndTime(
&self,
aHandleFetchEventEndTime: *mut PRTime
) -> nsresult
[src]
&self,
aHandleFetchEventEndTime: *mut PRTime
) -> nsresult
readonly attribute PRTime handleFetchEventEndTime;
pub unsafe fn GetDomainLookupStartTime(
&self,
aDomainLookupStartTime: *mut PRTime
) -> nsresult
[src]
&self,
aDomainLookupStartTime: *mut PRTime
) -> nsresult
readonly attribute PRTime domainLookupStartTime;
pub unsafe fn GetDomainLookupEndTime(
&self,
aDomainLookupEndTime: *mut PRTime
) -> nsresult
[src]
&self,
aDomainLookupEndTime: *mut PRTime
) -> nsresult
readonly attribute PRTime domainLookupEndTime;
pub unsafe fn GetConnectStartTime(
&self,
aConnectStartTime: *mut PRTime
) -> nsresult
[src]
&self,
aConnectStartTime: *mut PRTime
) -> nsresult
readonly attribute PRTime connectStartTime;
pub unsafe fn GetTcpConnectEndTime(
&self,
aTcpConnectEndTime: *mut PRTime
) -> nsresult
[src]
&self,
aTcpConnectEndTime: *mut PRTime
) -> nsresult
readonly attribute PRTime tcpConnectEndTime;
pub unsafe fn GetSecureConnectionStartTime(
&self,
aSecureConnectionStartTime: *mut PRTime
) -> nsresult
[src]
&self,
aSecureConnectionStartTime: *mut PRTime
) -> nsresult
readonly attribute PRTime secureConnectionStartTime;
pub unsafe fn GetConnectEndTime(&self, aConnectEndTime: *mut PRTime) -> nsresult
[src]
readonly attribute PRTime connectEndTime;
pub unsafe fn GetRequestStartTime(
&self,
aRequestStartTime: *mut PRTime
) -> nsresult
[src]
&self,
aRequestStartTime: *mut PRTime
) -> nsresult
readonly attribute PRTime requestStartTime;
pub unsafe fn GetResponseStartTime(
&self,
aResponseStartTime: *mut PRTime
) -> nsresult
[src]
&self,
aResponseStartTime: *mut PRTime
) -> nsresult
readonly attribute PRTime responseStartTime;
pub unsafe fn GetResponseEndTime(
&self,
aResponseEndTime: *mut PRTime
) -> nsresult
[src]
&self,
aResponseEndTime: *mut PRTime
) -> nsresult
readonly attribute PRTime responseEndTime;
pub unsafe fn GetCacheReadStartTime(
&self,
aCacheReadStartTime: *mut PRTime
) -> nsresult
[src]
&self,
aCacheReadStartTime: *mut PRTime
) -> nsresult
readonly attribute PRTime cacheReadStartTime;
pub unsafe fn GetCacheReadEndTime(
&self,
aCacheReadEndTime: *mut PRTime
) -> nsresult
[src]
&self,
aCacheReadEndTime: *mut PRTime
) -> nsresult
readonly attribute PRTime cacheReadEndTime;
pub unsafe fn GetRedirectStartTime(
&self,
aRedirectStartTime: *mut PRTime
) -> nsresult
[src]
&self,
aRedirectStartTime: *mut PRTime
) -> nsresult
readonly attribute PRTime redirectStartTime;
pub unsafe fn GetRedirectEndTime(
&self,
aRedirectEndTime: *mut PRTime
) -> nsresult
[src]
&self,
aRedirectEndTime: *mut PRTime
) -> nsresult
readonly attribute PRTime redirectEndTime;
pub unsafe fn GetReportResourceTiming(
&self,
aReportResourceTiming: *mut bool
) -> nsresult
[src]
&self,
aReportResourceTiming: *mut bool
) -> nsresult
[noscript] attribute boolean reportResourceTiming;
pub unsafe fn SetReportResourceTiming(
&self,
aReportResourceTiming: bool
) -> nsresult
[src]
&self,
aReportResourceTiming: bool
) -> nsresult
[noscript] attribute boolean reportResourceTiming;
pub unsafe fn GetServerTiming(
&self,
aServerTiming: *mut *const nsIArray
) -> nsresult
[src]
&self,
aServerTiming: *mut *const nsIArray
) -> nsresult
readonly attribute nsIArray serverTiming;
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 nsITimedChannel
[src]
const IID: nsIID
IID: nsIID = nsID(3395516493, 38300, 19514, [154, 89, 35, 74, 42, 82, 13, 224])
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 nsITimedChannel
[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 nsITimedChannel
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.