Struct Connection
pub struct Connection(/* private fields */);
Implementations§
§impl Connection
impl Connection
pub const CONNECTED: Connection = _
pub const DISCONNECTED: Connection = _
pub const UNKNOWN: Connection = _
Trait Implementations§
§impl Clone for Connection
impl Clone for Connection
§fn clone(&self) -> Connection
fn clone(&self) -> Connection
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 more§impl Debug for Connection
impl Debug for Connection
§impl Default for Connection
impl Default for Connection
§fn default() -> Connection
fn default() -> Connection
Returns the “default value” for a type. Read more
§impl From<u8> for Connection
impl From<u8> for Connection
§fn from(value: u8) -> Connection
fn from(value: u8) -> Connection
Converts to this type from the input type.
§impl Hash for Connection
impl Hash for Connection
§impl Ord for Connection
impl Ord for Connection
§impl PartialEq for Connection
impl PartialEq for Connection
§impl PartialOrd for Connection
impl PartialOrd for Connection
impl Copy for Connection
impl Eq for Connection
impl StructuralPartialEq for Connection
Auto Trait Implementations§
impl Freeze for Connection
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)