Enum lapin::ChannelState
source · pub enum ChannelState {
Initial,
Connected,
Closing,
Closed,
Error,
}
Variants§
Trait Implementations§
source§impl Clone for ChannelState
impl Clone for ChannelState
source§fn clone(&self) -> ChannelState
fn clone(&self) -> ChannelState
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 ChannelState
impl Debug for ChannelState
source§impl Default for ChannelState
impl Default for ChannelState
source§fn default() -> ChannelState
fn default() -> ChannelState
Returns the “default value” for a type. Read more
source§impl PartialEq for ChannelState
impl PartialEq for ChannelState
source§fn eq(&self, other: &ChannelState) -> bool
fn eq(&self, other: &ChannelState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ChannelState
impl StructuralPartialEq for ChannelState
Auto Trait Implementations§
impl Freeze for ChannelState
impl RefUnwindSafe for ChannelState
impl Send for ChannelState
impl Sync for ChannelState
impl Unpin for ChannelState
impl UnwindSafe for ChannelState
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