#[repr(u32)]pub enum channel_state {
cs_never_conn = 0,
cs_prev_conn = 1,
cs_conn = 2,
cs_closed = 3,
}Variants§
Trait Implementations§
Source§impl Clone for channel_state
impl Clone for channel_state
Source§fn clone(&self) -> channel_state
fn clone(&self) -> channel_state
Returns a duplicate 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 channel_state
impl Debug for channel_state
Source§impl Hash for channel_state
impl Hash for channel_state
Source§impl PartialEq for channel_state
impl PartialEq for channel_state
impl Copy for channel_state
impl Eq for channel_state
impl StructuralPartialEq for channel_state
Auto Trait Implementations§
impl Freeze for channel_state
impl RefUnwindSafe for channel_state
impl Send for channel_state
impl Sync for channel_state
impl Unpin for channel_state
impl UnwindSafe for channel_state
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