Struct lnp_rpc::ClientName
source · [−]pub struct ClientName(_);
Trait Implementations
sourceimpl AsMut<<ClientName as Wrapper>::Inner> for ClientName
impl AsMut<<ClientName as Wrapper>::Inner> for ClientName
sourceimpl AsRef<<ClientName as Wrapper>::Inner> for ClientName
impl AsRef<<ClientName as Wrapper>::Inner> for ClientName
sourceimpl Borrow<<ClientName as Wrapper>::Inner> for ClientName
impl Borrow<<ClientName as Wrapper>::Inner> for ClientName
sourceimpl BorrowMut<<ClientName as Wrapper>::Inner> for ClientName
impl BorrowMut<<ClientName as Wrapper>::Inner> for ClientName
sourcefn borrow_mut(&mut self) -> &mut <Self as Wrapper>::Inner
fn borrow_mut(&mut self) -> &mut <Self as Wrapper>::Inner
Mutably borrows from an owned value. Read more
sourceimpl Clone for ClientName
impl Clone for ClientName
sourcefn clone(&self) -> ClientName
fn clone(&self) -> ClientName
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 ClientName
impl Debug for ClientName
sourceimpl Default for ClientName
impl Default for ClientName
sourcefn default() -> ClientName
fn default() -> ClientName
Returns the “default value” for a type. Read more
sourceimpl Deref for ClientName
impl Deref for ClientName
sourceimpl DerefMut for ClientName
impl DerefMut for ClientName
sourceimpl Display for ClientName
impl Display for ClientName
sourceimpl From<ClientName> for [u8; 32]
impl From<ClientName> for [u8; 32]
sourcefn from(wrapped: ClientName) -> Self
fn from(wrapped: ClientName) -> Self
Converts to this type from the input type.
sourceimpl FromStr for ClientName
impl FromStr for ClientName
sourceimpl Hash for ClientName
impl Hash for ClientName
sourceimpl Ord for ClientName
impl Ord for ClientName
sourceimpl PartialEq<ClientName> for ClientName
impl PartialEq<ClientName> for ClientName
sourcefn eq(&self, other: &ClientName) -> bool
fn eq(&self, other: &ClientName) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ClientName) -> bool
fn ne(&self, other: &ClientName) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ClientName> for ClientName
impl PartialOrd<ClientName> for ClientName
sourcefn partial_cmp(&self, other: &ClientName) -> Option<Ordering>
fn partial_cmp(&self, other: &ClientName) -> 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 StrictDecode for ClientName
impl StrictDecode for ClientName
sourcefn strict_decode<D: Read>(d: D) -> Result<Self, Error>
fn strict_decode<D: Read>(d: D) -> Result<Self, Error>
Decode with the given std::io::Read
instance; must either
construct an instance or return implementation-specific error type. Read more
sourcefn strict_deserialize(data: impl AsRef<[u8]>) -> Result<Self, Error>
fn strict_deserialize(data: impl AsRef<[u8]>) -> Result<Self, Error>
Tries to deserialize byte array into the current type using
StrictDecode::strict_decode
Read more
sourceimpl StrictEncode for ClientName
impl StrictEncode for ClientName
sourcefn strict_encode<E: Write>(&self, e: E) -> Result<usize, Error>
fn strict_encode<E: Write>(&self, e: E) -> Result<usize, Error>
Encode with the given std::io::Write
instance; must return result
with either amount of bytes encoded – or implementation-specific
error type. Read more
sourcefn strict_serialize(&self) -> Result<Vec<u8, Global>, Error>
fn strict_serialize(&self) -> Result<Vec<u8, Global>, Error>
Serializes data as a byte array using StrictEncode::strict_encode
function Read more
sourceimpl Wrapper for ClientName
impl Wrapper for ClientName
sourcefn from_inner(inner: Self::Inner) -> Self
fn from_inner(inner: Self::Inner) -> Self
Instantiates wrapper type with the inner data
sourcefn as_inner(&self) -> &Self::Inner
fn as_inner(&self) -> &Self::Inner
Returns reference to the inner representation for the wrapper type
sourcefn as_inner_mut(&mut self) -> &mut Self::Inner
fn as_inner_mut(&mut self) -> &mut Self::Inner
Returns a mutable reference to the inner representation for the wrapper type Read more
sourcefn into_inner(self) -> Self::Inner
fn into_inner(self) -> Self::Inner
Unwraps the wrapper returning the inner type
impl Copy for ClientName
impl Eq for ClientName
impl StructuralEq for ClientName
impl StructuralPartialEq for ClientName
Auto Trait Implementations
impl RefUnwindSafe for ClientName
impl Send for ClientName
impl Sync for ClientName
impl Unpin for ClientName
impl UnwindSafe for ClientName
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more