Struct snarkvm_console_network::Console
source · [−]pub struct Console;
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Console
impl<'de> Deserialize<'de> for Console
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<Console, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Console, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Environment for Console
impl Environment for Console
sourceconst EDWARDS_A: <Console as Environment>::Field = <EdwardsParameters as TwistedEdwardsParameters>::EDWARDS_A
const EDWARDS_A: <Console as Environment>::Field = <EdwardsParameters as TwistedEdwardsParameters>::EDWARDS_A
The coefficient A
of the twisted Edwards curve.
sourceconst EDWARDS_D: <Console as Environment>::Field = <EdwardsParameters as TwistedEdwardsParameters>::EDWARDS_D
const EDWARDS_D: <Console as Environment>::Field = <EdwardsParameters as TwistedEdwardsParameters>::EDWARDS_D
The coefficient D
of the twisted Edwards curve.
sourceconst MONTGOMERY_A: <Console as Environment>::Field = <EdwardsParameters as MontgomeryParameters>::MONTGOMERY_A
const MONTGOMERY_A: <Console as Environment>::Field = <EdwardsParameters as MontgomeryParameters>::MONTGOMERY_A
The coefficient A
of the Montgomery curve.
sourceconst MONTGOMERY_B: <Console as Environment>::Field = <EdwardsParameters as MontgomeryParameters>::MONTGOMERY_B
const MONTGOMERY_B: <Console as Environment>::Field = <EdwardsParameters as MontgomeryParameters>::MONTGOMERY_B
The coefficient B
of the Montgomery curve.
type Affine = Affine<EdwardsParameters>
type BigInteger = <<Console as Environment>::Field as PrimeField>::BigInteger
type Field = <<Console as Environment>::Affine as AffineCurve>::BaseField
type PairingCurve = Bls12<Bls12_377Parameters>
type Projective = <<Console as Environment>::Affine as AffineCurve>::Projective
type Scalar = <<Console as Environment>::Affine as AffineCurve>::ScalarField
sourceconst MAX_STRING_BYTES: u32 = 255u32
const MAX_STRING_BYTES: u32 = 255u32
The maximum number of bytes allowed in a string.
sourceimpl PartialEq<Console> for Console
impl PartialEq<Console> for Console
sourceimpl Serialize for Console
impl Serialize for Console
sourcefn 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 Copy for Console
impl Eq for Console
impl StructuralEq for Console
impl StructuralPartialEq for Console
Auto Trait Implementations
impl RefUnwindSafe for Console
impl Send for Console
impl Sync for Console
impl Unpin for Console
impl UnwindSafe for Console
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.