pub struct LocalExitRoot(/* private fields */);Implementations§
Source§impl LocalExitRoot
impl LocalExitRoot
pub const fn new(digest: Digest) -> LocalExitRoot
Trait Implementations§
Source§impl AsRef<[u8]> for LocalExitRoot
impl AsRef<[u8]> for LocalExitRoot
Source§impl AsRef<Digest> for LocalExitRoot
impl AsRef<Digest> for LocalExitRoot
Source§impl Clone for LocalExitRoot
impl Clone for LocalExitRoot
Source§fn clone(&self) -> LocalExitRoot
fn clone(&self) -> LocalExitRoot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LocalExitRoot
impl Debug for LocalExitRoot
Source§impl Default for LocalExitRoot
impl Default for LocalExitRoot
Source§fn default() -> LocalExitRoot
fn default() -> LocalExitRoot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LocalExitRoot
impl<'de> Deserialize<'de> for LocalExitRoot
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LocalExitRoot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LocalExitRoot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LocalExitRoot
impl Display for LocalExitRoot
Source§impl From<Digest> for LocalExitRoot
impl From<Digest> for LocalExitRoot
Source§fn from(digest: Digest) -> LocalExitRoot
fn from(digest: Digest) -> LocalExitRoot
Converts to this type from the input type.
Source§impl From<FixedBytes<32>> for LocalExitRoot
impl From<FixedBytes<32>> for LocalExitRoot
Source§fn from(value: FixedBytes<32>) -> LocalExitRoot
fn from(value: FixedBytes<32>) -> LocalExitRoot
Converts to this type from the input type.
Source§impl From<LocalExitRoot> for Digest
impl From<LocalExitRoot> for Digest
Source§fn from(it: LocalExitRoot) -> Digest
fn from(it: LocalExitRoot) -> Digest
Converts to this type from the input type.
Source§impl From<LocalExitRoot> for FixedBytes<32>
impl From<LocalExitRoot> for FixedBytes<32>
Source§fn from(value: LocalExitRoot) -> FixedBytes<32>
fn from(value: LocalExitRoot) -> FixedBytes<32>
Converts to this type from the input type.
Source§impl LowerHex for LocalExitRoot
impl LowerHex for LocalExitRoot
Source§impl Ord for LocalExitRoot
impl Ord for LocalExitRoot
Source§fn cmp(&self, other: &LocalExitRoot) -> Ordering
fn cmp(&self, other: &LocalExitRoot) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LocalExitRoot
impl PartialEq for LocalExitRoot
Source§fn eq(&self, other: &LocalExitRoot) -> bool
fn eq(&self, other: &LocalExitRoot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LocalExitRoot
impl PartialOrd for LocalExitRoot
Source§impl Serialize for LocalExitRoot
impl Serialize for LocalExitRoot
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&[u8]> for LocalExitRoot
impl TryFrom<&[u8]> for LocalExitRoot
Source§type Error = TryFromSliceError
type Error = TryFromSliceError
The type returned in the event of a conversion error.
Source§fn try_from(
value: &[u8],
) -> Result<LocalExitRoot, <LocalExitRoot as TryFrom<&[u8]>>::Error>
fn try_from( value: &[u8], ) -> Result<LocalExitRoot, <LocalExitRoot as TryFrom<&[u8]>>::Error>
Performs the conversion.
Source§impl UpperHex for LocalExitRoot
impl UpperHex for LocalExitRoot
impl Copy for LocalExitRoot
impl Eq for LocalExitRoot
impl StructuralPartialEq for LocalExitRoot
Auto Trait Implementations§
impl Freeze for LocalExitRoot
impl RefUnwindSafe for LocalExitRoot
impl Send for LocalExitRoot
impl Sync for LocalExitRoot
impl Unpin for LocalExitRoot
impl UnsafeUnpin for LocalExitRoot
impl UnwindSafe for LocalExitRoot
Blanket Implementations§
Source§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>,
👎Deprecated:
use ToHexExt instead
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>,
👎Deprecated:
use ToHexExt instead
Encode the hex strict representing
self into the result.
Upper case letters are used (e.g. F9B4CA).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§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)Source§impl<T> ToHexExt for T
impl<T> ToHexExt for T
Source§fn encode_hex(&self) -> String
fn encode_hex(&self) -> String
Encode the hex strict representing
self into the result.
Lower case letters are used (e.g. f9b4ca).Source§fn encode_hex_upper(&self) -> String
fn encode_hex_upper(&self) -> String
Encode the hex strict representing
self into the result.
Upper case letters are used (e.g. F9B4CA).Source§fn encode_hex_with_prefix(&self) -> String
fn encode_hex_with_prefix(&self) -> String
Encode the hex strict representing
self into the result with prefix 0x.
Lower case letters are used (e.g. 0xf9b4ca).Source§fn encode_hex_upper_with_prefix(&self) -> String
fn encode_hex_upper_with_prefix(&self) -> String
Encode the hex strict representing
self into the result with prefix 0X.
Upper case letters are used (e.g. 0xF9B4CA).