#[repr(i32)]pub enum AsyncConnectionBehavior {
On = 1,
Off = 0,
}
Variants§
Trait Implementations§
source§impl Clone for AsyncConnectionBehavior
impl Clone for AsyncConnectionBehavior
source§fn clone(&self) -> AsyncConnectionBehavior
fn clone(&self) -> AsyncConnectionBehavior
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 AsyncConnectionBehavior
impl Debug for AsyncConnectionBehavior
source§impl Default for AsyncConnectionBehavior
impl Default for AsyncConnectionBehavior
source§fn default() -> AsyncConnectionBehavior
fn default() -> AsyncConnectionBehavior
Returns the “default value” for a type. Read more
source§impl PartialEq for AsyncConnectionBehavior
impl PartialEq for AsyncConnectionBehavior
source§fn eq(&self, other: &AsyncConnectionBehavior) -> bool
fn eq(&self, other: &AsyncConnectionBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AsyncConnectionBehavior
impl Eq for AsyncConnectionBehavior
impl StructuralEq for AsyncConnectionBehavior
impl StructuralPartialEq for AsyncConnectionBehavior
Auto Trait Implementations§
impl RefUnwindSafe for AsyncConnectionBehavior
impl Send for AsyncConnectionBehavior
impl Sync for AsyncConnectionBehavior
impl Unpin for AsyncConnectionBehavior
impl UnwindSafe for AsyncConnectionBehavior
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