pub struct NodeAddressBytes(/* private fields */);Implementations§
Source§impl NodeAddressBytes
impl NodeAddressBytes
pub fn as_base58_string(&self) -> String
pub fn try_from_base58_string<S: Into<String>>(val: S) -> Result<Self>
pub fn try_from_byte_slice(b: &[u8]) -> Result<Self>
pub fn from_bytes(b: [u8; 32]) -> Self
Trait Implementations§
Source§impl Clone for NodeAddressBytes
impl Clone for NodeAddressBytes
Source§fn clone(&self) -> NodeAddressBytes
fn clone(&self) -> NodeAddressBytes
Returns a duplicate 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 NodeAddressBytes
impl Debug for NodeAddressBytes
Source§impl Display for NodeAddressBytes
impl Display for NodeAddressBytes
Source§impl Hash for NodeAddressBytes
impl Hash for NodeAddressBytes
Source§impl PartialEq for NodeAddressBytes
impl PartialEq for NodeAddressBytes
Source§impl PartialOrd for NodeAddressBytes
impl PartialOrd for NodeAddressBytes
impl Copy for NodeAddressBytes
impl Eq for NodeAddressBytes
impl StructuralPartialEq for NodeAddressBytes
Auto Trait Implementations§
impl Freeze for NodeAddressBytes
impl RefUnwindSafe for NodeAddressBytes
impl Send for NodeAddressBytes
impl Sync for NodeAddressBytes
impl Unpin for NodeAddressBytes
impl UnwindSafe for NodeAddressBytes
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