Struct ockam_core::TransportType
source · pub struct TransportType(/* private fields */);
Expand description
The transport type of an Address
.
Implementations§
Trait Implementations§
source§impl Clone for TransportType
impl Clone for TransportType
source§fn clone(&self) -> TransportType
fn clone(&self) -> TransportType
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 TransportType
impl Debug for TransportType
source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for TransportType
impl<'bytes, Ctx> Decode<'bytes, Ctx> for TransportType
source§impl<'de> Deserialize<'de> for TransportType
impl<'de> Deserialize<'de> for TransportType
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
source§impl Display for TransportType
impl Display for TransportType
source§impl<Ctx> Encode<Ctx> for TransportType
impl<Ctx> Encode<Ctx> for TransportType
source§impl From<TransportType> for u8
impl From<TransportType> for u8
source§fn from(ty: TransportType) -> Self
fn from(ty: TransportType) -> Self
Converts to this type from the input type.
source§impl Hash for TransportType
impl Hash for TransportType
source§impl Ord for TransportType
impl Ord for TransportType
source§fn cmp(&self, other: &TransportType) -> Ordering
fn cmp(&self, other: &TransportType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TransportType
impl PartialEq for TransportType
source§fn eq(&self, other: &TransportType) -> bool
fn eq(&self, other: &TransportType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TransportType
impl PartialOrd for TransportType
source§fn partial_cmp(&self, other: &TransportType) -> Option<Ordering>
fn partial_cmp(&self, other: &TransportType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for TransportType
impl Serialize for TransportType
impl Copy for TransportType
impl Eq for TransportType
impl StructuralEq for TransportType
impl StructuralPartialEq for TransportType
Auto Trait Implementations§
impl RefUnwindSafe for TransportType
impl Send for TransportType
impl Sync for TransportType
impl Unpin for TransportType
impl UnwindSafe for TransportType
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
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