Struct PacketCommitment
pub struct PacketCommitment(pub Vec<u8>);Expand description
Packet commitment
Tuple Fields§
§0: Vec<u8>Implementations§
Trait Implementations§
§impl AsRef<[u8]> for PacketCommitment
impl AsRef<[u8]> for PacketCommitment
§impl Clone for PacketCommitment
impl Clone for PacketCommitment
§fn clone(&self) -> PacketCommitment
fn clone(&self) -> PacketCommitment
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 more§impl Debug for PacketCommitment
impl Debug for PacketCommitment
§impl From<Vec<u8>> for PacketCommitment
impl From<Vec<u8>> for PacketCommitment
§fn from(bytes: Vec<u8>) -> PacketCommitment
fn from(bytes: Vec<u8>) -> PacketCommitment
Converts to this type from the input type.
§impl PartialEq for PacketCommitment
impl PartialEq for PacketCommitment
impl Eq for PacketCommitment
impl StructuralPartialEq for PacketCommitment
Auto Trait Implementations§
impl Freeze for PacketCommitment
impl RefUnwindSafe for PacketCommitment
impl Send for PacketCommitment
impl Sync for PacketCommitment
impl Unpin for PacketCommitment
impl UnwindSafe for PacketCommitment
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)