#[repr(u8)]pub enum AddPathSendRecv {
Receive = 1,
Send = 2,
Both = 3,
}Variants§
Trait Implementations§
Source§impl Clone for AddPathSendRecv
impl Clone for AddPathSendRecv
Source§fn clone(&self) -> AddPathSendRecv
fn clone(&self) -> AddPathSendRecv
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddPathSendRecv
impl Debug for AddPathSendRecv
Source§impl<'de> Deserialize<'de> for AddPathSendRecv
impl<'de> Deserialize<'de> for AddPathSendRecv
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AddPathSendRecv
Source§impl<'_enum> From<&'_enum AddPathSendRecv> for AddPathSendRecvDiscriminants
impl<'_enum> From<&'_enum AddPathSendRecv> for AddPathSendRecvDiscriminants
Source§fn from(val: &'_enum AddPathSendRecv) -> AddPathSendRecvDiscriminants
fn from(val: &'_enum AddPathSendRecv) -> AddPathSendRecvDiscriminants
Converts to this type from the input type.
Source§impl From<&AddPathSendRecv> for u8
impl From<&AddPathSendRecv> for u8
Source§fn from(value: &AddPathSendRecv) -> Self
fn from(value: &AddPathSendRecv) -> Self
Converts to this type from the input type.
Source§impl From<AddPathSendRecv> for AddPathSendRecvDiscriminants
impl From<AddPathSendRecv> for AddPathSendRecvDiscriminants
Source§fn from(val: AddPathSendRecv) -> AddPathSendRecvDiscriminants
fn from(val: AddPathSendRecv) -> AddPathSendRecvDiscriminants
Converts to this type from the input type.
Source§impl IntoDiscriminant for AddPathSendRecv
impl IntoDiscriminant for AddPathSendRecv
Source§type Discriminant = AddPathSendRecvDiscriminants
type Discriminant = AddPathSendRecvDiscriminants
Enum listing the same variants as this enum but without any data fields
fn discriminant(&self) -> Self::Discriminant
Source§impl PartialEq for AddPathSendRecv
impl PartialEq for AddPathSendRecv
Source§fn eq(&self, other: &AddPathSendRecv) -> bool
fn eq(&self, other: &AddPathSendRecv) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AddPathSendRecv
impl Serialize for AddPathSendRecv
impl StructuralPartialEq for AddPathSendRecv
Auto Trait Implementations§
impl Freeze for AddPathSendRecv
impl RefUnwindSafe for AddPathSendRecv
impl Send for AddPathSendRecv
impl Sync for AddPathSendRecv
impl Unpin for AddPathSendRecv
impl UnsafeUnpin for AddPathSendRecv
impl UnwindSafe for AddPathSendRecv
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