pub enum ConnectionType {
Direct,
Relayed,
Gateway,
Cluster,
}
Expand description
Connection type
Variantsยง
Direct
Direct peer-to-peer connection
Relayed
Relayed connection through intermediary
Gateway
Gateway connection to external network
Cluster
Cluster internal connection
Trait Implementationsยง
Sourceยงimpl Clone for ConnectionType
impl Clone for ConnectionType
Sourceยงfn clone(&self) -> ConnectionType
fn clone(&self) -> ConnectionType
Returns a duplicate 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 ConnectionType
impl Debug for ConnectionType
Sourceยงimpl<'de> Deserialize<'de> for ConnectionType
impl<'de> Deserialize<'de> for ConnectionType
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
Auto Trait Implementationsยง
impl Freeze for ConnectionType
impl RefUnwindSafe for ConnectionType
impl Send for ConnectionType
impl Sync for ConnectionType
impl Unpin for ConnectionType
impl UnwindSafe for ConnectionType
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