pub enum DefaultChannel {
Unreliable,
ReliableOrdered,
ReliableUnordered,
}Expand description
Utility enumerator when using the default channels configuration. The default configuration has 3 channels: unreliable, reliable ordered, and reliable unordered.
Variants§
Implementations§
Source§impl DefaultChannel
impl DefaultChannel
pub fn config() -> Vec<ChannelConfig>
Trait Implementations§
Source§impl From<DefaultChannel> for u8
impl From<DefaultChannel> for u8
Source§fn from(channel: DefaultChannel) -> Self
fn from(channel: DefaultChannel) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DefaultChannel
impl RefUnwindSafe for DefaultChannel
impl Send for DefaultChannel
impl Sync for DefaultChannel
impl Unpin for DefaultChannel
impl UnwindSafe for DefaultChannel
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