pub enum ChannelBackend {
Stream,
Datagram,
}Expand description
The wire backend a Channel runs over.
Variants§
Stream
QUIC bidirectional stream — ordered and reliable. The default.
Datagram
QUIC datagram — unordered, unreliable, bounded by the MTU. Requires a
Channel::channel_id.
Trait Implementations§
Source§impl Clone for ChannelBackend
impl Clone for ChannelBackend
Source§fn clone(&self) -> ChannelBackend
fn clone(&self) -> ChannelBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelBackend
impl Debug for ChannelBackend
Source§impl Default for ChannelBackend
impl Default for ChannelBackend
Source§fn default() -> ChannelBackend
fn default() -> ChannelBackend
Returns the “default value” for a type. Read more
Source§impl PartialEq for ChannelBackend
impl PartialEq for ChannelBackend
Source§fn eq(&self, other: &ChannelBackend) -> bool
fn eq(&self, other: &ChannelBackend) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ChannelBackend
impl Eq for ChannelBackend
impl StructuralPartialEq for ChannelBackend
Auto Trait Implementations§
impl Freeze for ChannelBackend
impl RefUnwindSafe for ChannelBackend
impl Send for ChannelBackend
impl Sync for ChannelBackend
impl Unpin for ChannelBackend
impl UnsafeUnpin for ChannelBackend
impl UnwindSafe for ChannelBackend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more