Enum lapin_async::api::ChannelState
source · pub enum ChannelState {
Initial,
Connected,
Closed,
Error,
SendingContent(usize),
WillReceiveContent(String, Option<String>),
ReceivingContent(String, Option<String>, usize),
}
Variants
Initial
Connected
Closed
Error
SendingContent(usize)
WillReceiveContent(String, Option<String>)
ReceivingContent(String, Option<String>, usize)
Trait Implementations
sourceimpl Clone for ChannelState
impl Clone for ChannelState
sourcefn clone(&self) -> ChannelState
fn clone(&self) -> ChannelState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ChannelState
impl Debug for ChannelState
sourceimpl PartialEq<ChannelState> for ChannelState
impl PartialEq<ChannelState> for ChannelState
sourcefn eq(&self, other: &ChannelState) -> bool
fn eq(&self, other: &ChannelState) -> bool
impl Eq for ChannelState
impl StructuralEq for ChannelState
impl StructuralPartialEq for ChannelState
Auto Trait Implementations
impl RefUnwindSafe for ChannelState
impl Send for ChannelState
impl Sync for ChannelState
impl Unpin for ChannelState
impl UnwindSafe for ChannelState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more