Enum salvo_core::fuse::TransProto
source · pub enum TransProto {
Tcp,
Quic,
}
Expand description
A transport protocol.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for TransProto
impl Clone for TransProto
source§fn clone(&self) -> TransProto
fn clone(&self) -> TransProto
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 TransProto
impl Debug for TransProto
source§impl Default for TransProto
impl Default for TransProto
source§fn default() -> TransProto
fn default() -> TransProto
Returns the “default value” for a type. Read more
source§impl Hash for TransProto
impl Hash for TransProto
source§impl PartialEq for TransProto
impl PartialEq for TransProto
source§fn eq(&self, other: &TransProto) -> bool
fn eq(&self, other: &TransProto) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TransProto
impl Eq for TransProto
impl StructuralPartialEq for TransProto
Auto Trait Implementations§
impl Freeze for TransProto
impl RefUnwindSafe for TransProto
impl Send for TransProto
impl Sync for TransProto
impl Unpin for TransProto
impl UnwindSafe for TransProto
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.