Enum ng_net::types::BrokerServer
source · pub enum BrokerServer {
V0(BrokerServerV0),
}
Variants§
V0(BrokerServerV0)
Trait Implementations§
source§impl Clone for BrokerServer
impl Clone for BrokerServer
source§fn clone(&self) -> BrokerServer
fn clone(&self) -> BrokerServer
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 BrokerServer
impl Debug for BrokerServer
source§impl<'de> Deserialize<'de> for BrokerServer
impl<'de> Deserialize<'de> for BrokerServer
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 Hash for BrokerServer
impl Hash for BrokerServer
source§impl PartialEq for BrokerServer
impl PartialEq for BrokerServer
source§fn eq(&self, other: &BrokerServer) -> bool
fn eq(&self, other: &BrokerServer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BrokerServer
impl Serialize for BrokerServer
impl Eq for BrokerServer
impl StructuralPartialEq for BrokerServer
Auto Trait Implementations§
impl Freeze for BrokerServer
impl RefUnwindSafe for BrokerServer
impl Send for BrokerServer
impl Sync for BrokerServer
impl Unpin for BrokerServer
impl UnwindSafe for BrokerServer
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more