Struct xpcom::interfaces::nsISiteSecurityState
[−]
[src]
#[repr(C)]pub struct nsISiteSecurityState { /* fields omitted */ }
interface nsISiteSecurityState : nsISupports
Methods
impl nsISiteSecurityState
[src]
pub fn coerce<T: nsISiteSecurityStateCoerce>(&self) -> &T
[src]
Cast this nsISiteSecurityState
to one of its base interfaces.
impl nsISiteSecurityState
[src]
pub const SECURITY_PROPERTY_UNSET: i64
SECURITY_PROPERTY_UNSET: i64 = 0
pub const SECURITY_PROPERTY_SET: i64
SECURITY_PROPERTY_SET: i64 = 1
pub const SECURITY_PROPERTY_KNOCKOUT: i64
SECURITY_PROPERTY_KNOCKOUT: i64 = 2
pub const SECURITY_PROPERTY_NEGATIVE: i64
SECURITY_PROPERTY_NEGATIVE: i64 = 3
pub unsafe fn GetHostname(&self, aHostname: &mut nsACString) -> nsresult
[src]
[must_use] readonly attribute ACString hostname;
pub unsafe fn GetExpireTime(&self) -> int64_t
[src]
[infallible] readonly attribute long long expireTime;
pub unsafe fn GetSecurityPropertyState(&self) -> int16_t
[src]
[infallible] readonly attribute short securityPropertyState;
pub unsafe fn GetIncludeSubdomains(&self) -> bool
[src]
[infallible] readonly attribute boolean includeSubdomains;
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 nsISiteSecurityState
[src]
const IID: nsIID
IID: nsIID = nsID(825308018, 33836, 16656, [189, 241, 106, 234, 23, 200, 69, 173])
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 nsISiteSecurityState
[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 nsISiteSecurityState
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.