pub enum ChannelSwitchMode {
Restrict = 1,
Unrestricted = 0,
}Variants§
Implementations§
Source§impl ChannelSwitchMode
impl ChannelSwitchMode
pub fn from_u8(value: u8) -> ChannelSwitchMode
Trait Implementations§
Source§impl Clone for ChannelSwitchMode
impl Clone for ChannelSwitchMode
Source§fn clone(&self) -> ChannelSwitchMode
fn clone(&self) -> ChannelSwitchMode
Returns a copy of the value. Read more
1.0.0 · 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 ChannelSwitchMode
impl Debug for ChannelSwitchMode
Source§impl PartialEq for ChannelSwitchMode
impl PartialEq for ChannelSwitchMode
impl Eq for ChannelSwitchMode
impl StructuralPartialEq for ChannelSwitchMode
Auto Trait Implementations§
impl Freeze for ChannelSwitchMode
impl RefUnwindSafe for ChannelSwitchMode
impl Send for ChannelSwitchMode
impl Sync for ChannelSwitchMode
impl Unpin for ChannelSwitchMode
impl UnwindSafe for ChannelSwitchMode
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