Struct cardano_serialization_lib::SingleHostAddr
source · [−]pub struct SingleHostAddr { /* private fields */ }Implementations
sourceimpl SingleHostAddr
impl SingleHostAddr
pub fn from_bytes(bytes: Vec<u8>) -> Result<SingleHostAddr, DeserializeError>
Trait Implementations
sourceimpl Clone for SingleHostAddr
impl Clone for SingleHostAddr
sourcefn clone(&self) -> SingleHostAddr
fn clone(&self) -> SingleHostAddr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SingleHostAddr
impl Debug for SingleHostAddr
sourceimpl Deserialize for SingleHostAddr
impl Deserialize for SingleHostAddr
fn deserialize<R: BufRead + Seek>(
raw: &mut Deserializer<R>
) -> Result<Self, DeserializeError>
sourceimpl DeserializeEmbeddedGroup for SingleHostAddr
impl DeserializeEmbeddedGroup for SingleHostAddr
fn deserialize_as_embedded_group<R: BufRead + Seek>(
raw: &mut Deserializer<R>,
_: Len
) -> Result<Self, DeserializeError>
sourceimpl Ord for SingleHostAddr
impl Ord for SingleHostAddr
sourcefn cmp(&self, other: &SingleHostAddr) -> Ordering
fn cmp(&self, other: &SingleHostAddr) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SingleHostAddr> for SingleHostAddr
impl PartialEq<SingleHostAddr> for SingleHostAddr
sourcefn eq(&self, other: &SingleHostAddr) -> bool
fn eq(&self, other: &SingleHostAddr) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SingleHostAddr) -> bool
fn ne(&self, other: &SingleHostAddr) -> bool
This method tests for !=.
sourceimpl PartialOrd<SingleHostAddr> for SingleHostAddr
impl PartialOrd<SingleHostAddr> for SingleHostAddr
sourcefn partial_cmp(&self, other: &SingleHostAddr) -> Option<Ordering>
fn partial_cmp(&self, other: &SingleHostAddr) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl Serialize for SingleHostAddr
impl Serialize for SingleHostAddr
fn serialize<'se, W: Write>(
&self,
serializer: &'se mut Serializer<W>
) -> Result<&'se mut Serializer<W>>
impl Eq for SingleHostAddr
impl StructuralEq for SingleHostAddr
impl StructuralPartialEq for SingleHostAddr
Auto Trait Implementations
impl RefUnwindSafe for SingleHostAddr
impl Send for SingleHostAddr
impl Sync for SingleHostAddr
impl Unpin for SingleHostAddr
impl UnwindSafe for SingleHostAddr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more