Struct xpcom::interfaces::nsISiteHSTSState
[−]
[src]
#[repr(C)]pub struct nsISiteHSTSState { /* fields omitted */ }
interface nsISiteHSTSState : nsISiteSecurityState
Methods
impl nsISiteHSTSState
[src]
pub fn coerce<T: nsISiteHSTSStateCoerce>(&self) -> &T
[src]
Cast this nsISiteHSTSState
to one of its base interfaces.
Methods from Deref<Target = nsISiteSecurityState>
pub fn coerce<T: nsISiteSecurityStateCoerce>(&self) -> &T
[src]
Cast this nsISiteSecurityState
to one of its base interfaces.
pub const SECURITY_PROPERTY_UNSET: i64
pub const SECURITY_PROPERTY_SET: i64
pub const SECURITY_PROPERTY_KNOCKOUT: i64
pub const SECURITY_PROPERTY_NEGATIVE: i64
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;
Trait Implementations
impl XpCom for nsISiteHSTSState
[src]
const IID: nsIID
IID: nsIID = nsID(2683399744, 4137, 18796, [149, 194, 188, 129, 152, 114, 178, 22])
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 nsISiteHSTSState
[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 nsISiteHSTSState
[src]
type Target = nsISiteSecurityState
The resulting type after dereferencing.
fn deref(&self) -> &nsISiteSecurityState
[src]
Dereferences the value.