pub struct BigIntUncallable;
Expand description

Dummy type that implements BigIntApi. Currently used to simplify generating ABIs, since we are not interested in values there. Being completely content-less it can exist in dharitri-wasm in a no-std environment.

Trait Implementations§

source§

impl<'a, 'b> Add<&'b BigIntUncallable> for &'a BigIntUncallable

§

type Output = BigIntUncallable

The resulting type after applying the + operator.
source§

fn add(self, _other: &BigIntUncallable) -> BigIntUncallable

Performs the + operation. Read more
source§

impl Add for BigIntUncallable

§

type Output = BigIntUncallable

The resulting type after applying the + operator.
source§

fn add(self, _other: BigIntUncallable) -> BigIntUncallable

Performs the + operation. Read more
source§

impl AddAssign<&BigIntUncallable> for BigIntUncallable

source§

fn add_assign(&mut self, _other: &BigIntUncallable)

Performs the += operation. Read more
source§

impl AddAssign for BigIntUncallable

source§

fn add_assign(&mut self, _other: Self)

Performs the += operation. Read more
source§

impl BigIntApi for BigIntUncallable

§

type BigUint = BigUintUncallable

source§

fn abs_uint(&self) -> Self::BigUint

source§

fn sign(&self) -> Sign

source§

fn to_signed_bytes_be(&self) -> Vec<u8>

source§

fn from_signed_bytes_be(_bytes: &[u8]) -> Self

source§

fn pow(&self, _exp: u32) -> Self

source§

fn to_i64(&self) -> Option<i64>

Will return None if the number is too big or too small to be converted.
source§

fn zero() -> Self

source§

impl Clone for BigIntUncallable

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a, 'b> Div<&'b BigIntUncallable> for &'a BigIntUncallable

§

type Output = BigIntUncallable

The resulting type after applying the / operator.
source§

fn div(self, _other: &BigIntUncallable) -> BigIntUncallable

Performs the / operation. Read more
source§

impl Div for BigIntUncallable

§

type Output = BigIntUncallable

The resulting type after applying the / operator.
source§

fn div(self, _other: BigIntUncallable) -> BigIntUncallable

Performs the / operation. Read more
source§

impl DivAssign<&BigIntUncallable> for BigIntUncallable

source§

fn div_assign(&mut self, _other: &BigIntUncallable)

Performs the /= operation. Read more
source§

impl DivAssign for BigIntUncallable

source§

fn div_assign(&mut self, _other: Self)

Performs the /= operation. Read more
source§

impl From<BigUintUncallable> for BigIntUncallable

source§

fn from(_item: BigUintUncallable) -> Self

Converts to this type from the input type.
source§

impl From<i32> for BigIntUncallable

source§

fn from(_item: i32) -> Self

Converts to this type from the input type.
source§

impl From<i64> for BigIntUncallable

source§

fn from(_item: i64) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b> Mul<&'b BigIntUncallable> for &'a BigIntUncallable

§

type Output = BigIntUncallable

The resulting type after applying the * operator.
source§

fn mul(self, _other: &BigIntUncallable) -> BigIntUncallable

Performs the * operation. Read more
source§

impl Mul for BigIntUncallable

§

type Output = BigIntUncallable

The resulting type after applying the * operator.
source§

fn mul(self, _other: BigIntUncallable) -> BigIntUncallable

Performs the * operation. Read more
source§

impl MulAssign<&BigIntUncallable> for BigIntUncallable

source§

fn mul_assign(&mut self, _other: &BigIntUncallable)

Performs the *= operation. Read more
source§

impl MulAssign for BigIntUncallable

source§

fn mul_assign(&mut self, _other: Self)

Performs the *= operation. Read more
source§

impl Neg for BigIntUncallable

§

type Output = BigIntUncallable

The resulting type after applying the - operator.
source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
source§

impl NestedDecode for BigIntUncallable

source§

fn dep_decode<I: NestedDecodeInput>(_input: &mut I) -> Result<Self, DecodeError>

Attempt to deserialise the value from input, using the format of an object nested inside another structure. In case of success returns the deserialized value and the number of bytes consumed during the operation.
source§

fn dep_decode_or_exit<I: NestedDecodeInput, ExitCtx: Clone>( _input: &mut I, _c: ExitCtx, _exit: fn(_: ExitCtx, _: DecodeError) -> ! ) -> Self

Version of top_decode that exits quickly in case of error. Its purpose is to create smaller implementations in cases where the application is supposed to exit directly on decode error.
source§

impl NestedEncode for BigIntUncallable

source§

fn dep_encode<O: NestedEncodeOutput>( &self, _dest: &mut O ) -> Result<(), EncodeError>

NestedEncode to output, using the format of an object nested inside another structure. Does not provide compact version.
source§

fn dep_encode_or_exit<O: NestedEncodeOutput, ExitCtx: Clone>( &self, _dest: &mut O, _c: ExitCtx, _exit: fn(_: ExitCtx, _: EncodeError) -> ! )

Version of top_decode that exits quickly in case of error. Its purpose is to create smaller implementations in cases where the application is supposed to exit directly on decode error.
source§

impl Ord for BigIntUncallable

source§

fn cmp(&self, _other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<i64> for BigIntUncallable

source§

fn eq(&self, _other: &i64) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq for BigIntUncallable

source§

fn eq(&self, _other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<i64> for BigIntUncallable

source§

fn partial_cmp(&self, _other: &i64) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

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 · source§

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
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd for BigIntUncallable

source§

fn partial_cmp(&self, _other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

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 · source§

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
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl<'a, 'b> Rem<&'b BigIntUncallable> for &'a BigIntUncallable

§

type Output = BigIntUncallable

The resulting type after applying the % operator.
source§

fn rem(self, _other: &BigIntUncallable) -> BigIntUncallable

Performs the % operation. Read more
source§

impl Rem for BigIntUncallable

§

type Output = BigIntUncallable

The resulting type after applying the % operator.
source§

fn rem(self, _other: BigIntUncallable) -> BigIntUncallable

Performs the % operation. Read more
source§

impl RemAssign<&BigIntUncallable> for BigIntUncallable

source§

fn rem_assign(&mut self, _other: &BigIntUncallable)

Performs the %= operation. Read more
source§

impl RemAssign for BigIntUncallable

source§

fn rem_assign(&mut self, _other: Self)

Performs the %= operation. Read more
source§

impl<'a, 'b> Sub<&'b BigIntUncallable> for &'a BigIntUncallable

§

type Output = BigIntUncallable

The resulting type after applying the - operator.
source§

fn sub(self, _other: &BigIntUncallable) -> BigIntUncallable

Performs the - operation. Read more
source§

impl Sub for BigIntUncallable

§

type Output = BigIntUncallable

The resulting type after applying the - operator.
source§

fn sub(self, _other: BigIntUncallable) -> BigIntUncallable

Performs the - operation. Read more
source§

impl SubAssign<&BigIntUncallable> for BigIntUncallable

source§

fn sub_assign(&mut self, _other: &BigIntUncallable)

Performs the -= operation. Read more
source§

impl SubAssign for BigIntUncallable

source§

fn sub_assign(&mut self, _other: Self)

Performs the -= operation. Read more
source§

impl TopDecode for BigIntUncallable

source§

fn top_decode<I: TopDecodeInput>(_input: I) -> Result<Self, DecodeError>

Attempt to deserialize the value from input.
source§

fn top_decode_or_exit<I: TopDecodeInput, ExitCtx: Clone>( _input: I, _: ExitCtx, _: fn(_: ExitCtx, _: DecodeError) -> ! ) -> Self

Version of top_decode that exits quickly in case of error. Its purpose is to create smaller implementations in cases where the application is supposed to exit directly on decode error.
source§

impl TopEncode for BigIntUncallable

source§

fn top_encode<O: TopEncodeOutput>(&self, _output: O) -> Result<(), EncodeError>

Attempt to serialize the value to ouput.
source§

fn top_encode_or_exit<O: TopEncodeOutput, ExitCtx: Clone>( &self, _output: O, _c: ExitCtx, _exit: fn(_: ExitCtx, _: EncodeError) -> ! )

Version of top_decode that exits quickly in case of error. Its purpose is to create smaller bytecode implementations in cases where the application is supposed to exit directly on decode error.
source§

impl TypeAbi for BigIntUncallable

source§

fn type_name() -> String

source§

fn provide_type_descriptions<TDC: TypeDescriptionContainer>( accumulator: &mut TDC )

A type can provide more than its own description. For instance, a struct can also provide the descriptions of the type of its fields. TypeAbi doesn’t care for the exact accumulator type, which is abstracted by the TypeDescriptionContainer trait.
source§

impl Eq for BigIntUncallable

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ContractCallArg for T
where T: TopEncode,

source§

fn push_async_arg(&self, serializer: &mut ArgBuffer) -> Result<(), SCError>

source§

impl<T> DynArg for T
where T: TopDecode,

source§

fn dyn_load<I, D>(loader: &mut D, arg_id: ArgId) -> T
where I: TopDecodeInput, D: DynArgInput<I>,

source§

impl<T> EndpointResult for T
where T: TopEncode,

§

type DecodeAs = T

Indicates how the result of the endpoint can be interpreted when called via proxy. Self for most types.
source§

fn finish<FA>(&self, api: FA)
where FA: EndpointFinishApi + Clone + 'static,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.