Struct maelstrom_util::config::common::BrokerAddr
source · pub struct BrokerAddr(/* private fields */);
Implementations§
source§impl BrokerAddr
impl BrokerAddr
pub fn new(inner: SocketAddr) -> Self
pub fn inner(&self) -> &SocketAddr
pub fn into_inner(self) -> SocketAddr
Trait Implementations§
source§impl Clone for BrokerAddr
impl Clone for BrokerAddr
source§fn clone(&self) -> BrokerAddr
fn clone(&self) -> BrokerAddr
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 BrokerAddr
impl Debug for BrokerAddr
source§impl<'de> Deserialize<'de> for BrokerAddr
impl<'de> Deserialize<'de> for BrokerAddr
source§fn deserialize<D>(deserializer: D) -> Result<BrokerAddr, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<BrokerAddr, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for BrokerAddr
impl Display for BrokerAddr
source§impl From<BrokerAddr> for String
impl From<BrokerAddr> for String
source§fn from(b: BrokerAddr) -> Self
fn from(b: BrokerAddr) -> Self
Converts to this type from the input type.
source§impl FromStr for BrokerAddr
impl FromStr for BrokerAddr
source§impl PartialEq for BrokerAddr
impl PartialEq for BrokerAddr
source§fn eq(&self, other: &BrokerAddr) -> bool
fn eq(&self, other: &BrokerAddr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BrokerAddr
impl Serialize for BrokerAddr
impl Copy for BrokerAddr
impl StructuralPartialEq for BrokerAddr
Auto Trait Implementations§
impl Freeze for BrokerAddr
impl RefUnwindSafe for BrokerAddr
impl Send for BrokerAddr
impl Sync for BrokerAddr
impl Unpin for BrokerAddr
impl UnwindSafe for BrokerAddr
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<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type