pub struct ConnectionStatus { /* private fields */ }
๐Deprecated: use lapin instead
Implementationsยง
Sourceยงimpl ConnectionStatus
impl ConnectionStatus
pub fn state(&self) -> ConnectionState
๐Deprecated: use lapin instead
pub fn vhost(&self) -> String
๐Deprecated: use lapin instead
pub fn blocked(&self) -> bool
๐Deprecated: use lapin instead
pub fn connected(&self) -> bool
๐Deprecated: use lapin instead
pub fn closed(&self) -> bool
๐Deprecated: use lapin instead
pub fn errored(&self) -> bool
๐Deprecated: use lapin instead
Trait Implementationsยง
Sourceยงimpl Clone for ConnectionStatus
impl Clone for ConnectionStatus
Sourceยงfn clone(&self) -> ConnectionStatus
fn clone(&self) -> ConnectionStatus
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 ConnectionStatus
impl Debug for ConnectionStatus
Sourceยงimpl Default for ConnectionStatus
impl Default for ConnectionStatus
Sourceยงfn default() -> ConnectionStatus
fn default() -> ConnectionStatus
Returns the โdefault valueโ for a type. Read more
Auto Trait Implementationsยง
impl Freeze for ConnectionStatus
impl !RefUnwindSafe for ConnectionStatus
impl Send for ConnectionStatus
impl Sync for ConnectionStatus
impl Unpin for ConnectionStatus
impl !UnwindSafe for ConnectionStatus
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