Struct xpcom::interfaces::IPeerConnection
[−]
[src]
#[repr(C)]pub struct IPeerConnection { /* fields omitted */ }
interface IPeerConnection : nsISupports
Methods
impl IPeerConnection
[src]
pub fn coerce<T: IPeerConnectionCoerce>(&self) -> &T
[src]
Cast this IPeerConnection
to one of its base interfaces.
impl IPeerConnection
[src]
pub const kHintAudio: i64
kHintAudio: i64 = 1
pub const kHintVideo: i64
kHintVideo: i64 = 2
pub const kActionNone: i64
kActionNone: i64 = -1
pub const kActionOffer: i64
kActionOffer: i64 = 0
pub const kActionAnswer: i64
kActionAnswer: i64 = 1
pub const kActionPRAnswer: i64
kActionPRAnswer: i64 = 2
pub const kActionRollback: i64
kActionRollback: i64 = 3
pub const kIceGathering: i64
kIceGathering: i64 = 0
pub const kIceWaiting: i64
kIceWaiting: i64 = 1
pub const kIceChecking: i64
kIceChecking: i64 = 2
pub const kIceConnected: i64
kIceConnected: i64 = 3
pub const kIceFailed: i64
kIceFailed: i64 = 4
pub const kNew: i64
kNew: i64 = 0
pub const kNegotiating: i64
kNegotiating: i64 = 1
pub const kActive: i64
kActive: i64 = 2
pub const kClosing: i64
kClosing: i64 = 3
pub const kClosed: i64
kClosed: i64 = 4
pub const kDataChannelReliable: i64
kDataChannelReliable: i64 = 0
pub const kDataChannelPartialReliableRexmit: i64
kDataChannelPartialReliableRexmit: i64 = 1
pub const kDataChannelPartialReliableTimed: i64
kDataChannelPartialReliableTimed: i64 = 2
pub const kNoError: i64
kNoError: i64 = 0
pub const kInvalidCandidate: i64
kInvalidCandidate: i64 = 2
pub const kInvalidMediastreamTrack: i64
kInvalidMediastreamTrack: i64 = 3
pub const kInvalidState: i64
kInvalidState: i64 = 4
pub const kInvalidSessionDescription: i64
kInvalidSessionDescription: i64 = 5
pub const kIncompatibleSessionDescription: i64
kIncompatibleSessionDescription: i64 = 6
pub const kIncompatibleMediaStreamTrack: i64
kIncompatibleMediaStreamTrack: i64 = 8
pub const kInternalError: i64
kInternalError: i64 = 9
pub const kMaxErrorType: i64
kMaxErrorType: i64 = 9
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 IPeerConnection
[src]
const IID: nsIID
IID: nsIID = nsID(347064551, 58401, 19724, [153, 165, 105, 48, 141, 135, 20, 129])
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 IPeerConnection
[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 IPeerConnection
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.