[−][src]Struct koibumi_core::net::OnionV3Addr
An Onion V3 address.
Implementations
impl OnionV3Addr
[src]
pub fn new(bytes: [u8; 35]) -> Result<Self, ParseOnionV3AddrError>
[src]
Constructs an Onion V3 address from a byte array.
Trait Implementations
impl AsRef<[u8]> for OnionV3Addr
[src]
impl Clone for OnionV3Addr
[src]
pub fn clone(&self) -> OnionV3Addr
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OnionV3Addr
[src]
impl Display for OnionV3Addr
[src]
impl Eq for OnionV3Addr
[src]
impl From<[u8; 35]> for OnionV3Addr
[src]
impl From<OnionV3Addr> for Domain
[src]
pub fn from(addr: OnionV3Addr) -> Self
[src]
impl FromStr for OnionV3Addr
[src]
type Err = ParseOnionV3AddrError
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl Hash for OnionV3Addr
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for OnionV3Addr
[src]
pub fn cmp(&self, other: &OnionV3Addr) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<OnionV3Addr> for OnionV3Addr
[src]
pub fn eq(&self, other: &OnionV3Addr) -> bool
[src]
pub fn ne(&self, other: &OnionV3Addr) -> bool
[src]
impl PartialOrd<OnionV3Addr> for OnionV3Addr
[src]
pub fn partial_cmp(&self, other: &OnionV3Addr) -> Option<Ordering>
[src]
pub fn lt(&self, other: &OnionV3Addr) -> bool
[src]
pub fn le(&self, other: &OnionV3Addr) -> bool
[src]
pub fn gt(&self, other: &OnionV3Addr) -> bool
[src]
pub fn ge(&self, other: &OnionV3Addr) -> bool
[src]
impl StructuralEq for OnionV3Addr
[src]
impl StructuralPartialEq for OnionV3Addr
[src]
Auto Trait Implementations
impl RefUnwindSafe for OnionV3Addr
[src]
impl Send for OnionV3Addr
[src]
impl Sync for OnionV3Addr
[src]
impl Unpin for OnionV3Addr
[src]
impl UnwindSafe for OnionV3Addr
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,