pub trait RTCDataChannelMethods<D: DomTypes> {
Show 27 methods // Required methods fn Label(&self) -> USVString; fn Ordered(&self) -> bool; fn GetMaxPacketLifeTime(&self) -> Option<u16>; fn GetMaxRetransmits(&self) -> Option<u16>; fn Protocol(&self) -> USVString; fn Negotiated(&self) -> bool; fn GetId(&self) -> Option<u16>; fn ReadyState(&self) -> RTCDataChannelState; fn GetOnopen(&self) -> Option<Rc<EventHandlerNonNull>>; fn SetOnopen(&self, value: Option<Rc<EventHandlerNonNull>>); fn GetOnbufferedamountlow(&self) -> Option<Rc<EventHandlerNonNull>>; fn SetOnbufferedamountlow(&self, value: Option<Rc<EventHandlerNonNull>>); fn GetOnerror(&self) -> Option<Rc<EventHandlerNonNull>>; fn SetOnerror(&self, value: Option<Rc<EventHandlerNonNull>>); fn GetOnclosing(&self) -> Option<Rc<EventHandlerNonNull>>; fn SetOnclosing(&self, value: Option<Rc<EventHandlerNonNull>>); fn GetOnclose(&self) -> Option<Rc<EventHandlerNonNull>>; fn SetOnclose(&self, value: Option<Rc<EventHandlerNonNull>>); fn Close(&self); fn GetOnmessage(&self) -> Option<Rc<EventHandlerNonNull>>; fn SetOnmessage(&self, value: Option<Rc<EventHandlerNonNull>>); fn BinaryType(&self) -> DOMString; fn SetBinaryType(&self, value: DOMString) -> Result<(), Error>; fn Send(&self, data: USVString) -> Result<(), Error>; fn Send_(&self, data: &Blob) -> Result<(), Error>; fn Send__( &self, data: CustomAutoRooterGuard<'_, ArrayBuffer>, ) -> Result<(), Error>; fn Send___( &self, data: CustomAutoRooterGuard<'_, ArrayBufferView>, ) -> Result<(), Error>;
}

Required Methods§

source

fn Label(&self) -> USVString

source

fn Ordered(&self) -> bool

source

fn GetMaxPacketLifeTime(&self) -> Option<u16>

source

fn GetMaxRetransmits(&self) -> Option<u16>

source

fn Protocol(&self) -> USVString

source

fn Negotiated(&self) -> bool

source

fn GetId(&self) -> Option<u16>

source

fn ReadyState(&self) -> RTCDataChannelState

source

fn GetOnopen(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnopen(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnbufferedamountlow(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnbufferedamountlow(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnerror(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnerror(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnclosing(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnclosing(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnclose(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnclose(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn Close(&self)

source

fn GetOnmessage(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnmessage(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn BinaryType(&self) -> DOMString

source

fn SetBinaryType(&self, value: DOMString) -> Result<(), Error>

source

fn Send(&self, data: USVString) -> Result<(), Error>

source

fn Send_(&self, data: &Blob) -> Result<(), Error>

source

fn Send__( &self, data: CustomAutoRooterGuard<'_, ArrayBuffer>, ) -> Result<(), Error>

source

fn Send___( &self, data: CustomAutoRooterGuard<'_, ArrayBufferView>, ) -> Result<(), Error>

Implementors§