Struct snarkvm_wasm::network::AleoObject
pub struct AleoObject<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize>(_)
where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send;Trait Implementations
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Bech32Object<T> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Bech32Object<T> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
fn prefix() -> String
fn size_in_bytes() -> usize
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Borrow<T> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Borrow<T> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Clone for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Clone for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
fn clone(&self) -> AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
fn clone(&self) -> AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
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 moreimpl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Debug for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Debug for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Default for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Default + Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Default for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Default + Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
fn default() -> AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
fn default() -> AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
Returns the “default value” for a type. Read more
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Deref for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Deref for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
type Target = T
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &<AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES> as Deref>::Target
fn deref(&self) -> &<AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES> as Deref>::Target
Dereferences the value.
impl<'de, T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Deserialize<'de> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<'de, T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Deserialize<'de> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
fn deserialize<D>(
deserializer: D
) -> Result<AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Display for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Display for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> From<T> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> From<T> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
fn from(data: T) -> AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
fn from(data: T) -> AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
Converts to this type from the input type.
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> FromBytes for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> FromBytes for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> FromStr for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> FromStr for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
fn from_str(
string: &str
) -> Result<AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>, <AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES> as FromStr>::Err>
fn from_str(
string: &str
) -> Result<AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>, <AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES> as FromStr>::Err>
Reads in a bech32m string.
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Hash for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Hash + Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Hash for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Hash + Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> PartialEq<AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: PartialEq<T> + Clone + Debug + ToBytes + FromBytes + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> PartialEq<AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>> for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: PartialEq<T> + Clone + Debug + ToBytes + FromBytes + Eq + Sync + Send,
fn eq(&self, other: &AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>) -> bool
fn eq(&self, other: &AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>) -> bool
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Serialize for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Serialize for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
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
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> ToBytes for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> ToBytes for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Eq for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Eq + Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> StructuralEq for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> StructuralPartialEq for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Clone + Debug + ToBytes + FromBytes + PartialEq<T> + Eq + Sync + Send,
Auto Trait Implementations
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> RefUnwindSafe for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: RefUnwindSafe,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Send for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Sync for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> Unpin for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: Unpin,
impl<T, const PREFIX: u32, const SIZE_IN_DATA_BYTES: usize> UnwindSafe for AleoObject<T, PREFIX, SIZE_IN_DATA_BYTES>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
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> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourcefn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;where
S: Into<Dispatch>,
T: Future, type Output = <T as Future>::Output;
sourcefn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;