Struct datachannel::DataChannelInit
source · [−]pub struct DataChannelInit { /* private fields */ }
Implementations
sourceimpl DataChannelInit
impl DataChannelInit
pub fn reliability(self, reliability: Reliability) -> Self
pub fn protocol(self, protocol: &str) -> Self
pub fn negotiated(self) -> Self
pub fn manual_stream(self) -> Self
Trait Implementations
sourceimpl Clone for DataChannelInit
impl Clone for DataChannelInit
sourcefn clone(&self) -> DataChannelInit
fn clone(&self) -> DataChannelInit
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DataChannelInit
impl Debug for DataChannelInit
sourceimpl Default for DataChannelInit
impl Default for DataChannelInit
sourcefn default() -> DataChannelInit
fn default() -> DataChannelInit
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DataChannelInit
impl Send for DataChannelInit
impl Sync for DataChannelInit
impl Unpin for DataChannelInit
impl UnwindSafe for DataChannelInit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more