#[repr(transparent)]pub struct ConnectionRecoveryBehaviorOptions(pub i32);
Tuple Fields§
§0: i32
Trait Implementations§
Source§impl Abi for ConnectionRecoveryBehaviorOptions
impl Abi for ConnectionRecoveryBehaviorOptions
Source§type Abi = ConnectionRecoveryBehaviorOptions
type Abi = ConnectionRecoveryBehaviorOptions
The abi representation of the implementing type. Read more
type DefaultType = ConnectionRecoveryBehaviorOptions
Source§fn ok(value: &Self::DefaultType) -> Result<Self, Error>
fn ok(value: &Self::DefaultType) -> Result<Self, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut Self::Abi
fn set_abi(&mut self) -> *mut Self::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for ConnectionRecoveryBehaviorOptions
impl Clone for ConnectionRecoveryBehaviorOptions
Source§fn clone(&self) -> ConnectionRecoveryBehaviorOptions
fn clone(&self) -> ConnectionRecoveryBehaviorOptions
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 Default for ConnectionRecoveryBehaviorOptions
impl Default for ConnectionRecoveryBehaviorOptions
Source§fn default() -> ConnectionRecoveryBehaviorOptions
fn default() -> ConnectionRecoveryBehaviorOptions
Returns the “default value” for a type. Read more
Source§impl From<i32> for ConnectionRecoveryBehaviorOptions
impl From<i32> for ConnectionRecoveryBehaviorOptions
Source§impl PartialEq for ConnectionRecoveryBehaviorOptions
impl PartialEq for ConnectionRecoveryBehaviorOptions
Source§fn eq(&self, other: &ConnectionRecoveryBehaviorOptions) -> bool
fn eq(&self, other: &ConnectionRecoveryBehaviorOptions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for ConnectionRecoveryBehaviorOptions
impl Eq for ConnectionRecoveryBehaviorOptions
impl StructuralPartialEq for ConnectionRecoveryBehaviorOptions
Auto Trait Implementations§
impl Freeze for ConnectionRecoveryBehaviorOptions
impl RefUnwindSafe for ConnectionRecoveryBehaviorOptions
impl Send for ConnectionRecoveryBehaviorOptions
impl Sync for ConnectionRecoveryBehaviorOptions
impl Unpin for ConnectionRecoveryBehaviorOptions
impl UnwindSafe for ConnectionRecoveryBehaviorOptions
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