pub type ProcCountMicros = i64;
Expand description

Typedef for result of proc_count_now(). This value is on the scale of microseconds.

Trait Implementations§

1.0.0 · source§

impl Binary for i64

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl Clone for i64

source§

fn clone(&self) -> i64

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

impl Debug for i64

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
1.0.0 · source§

impl Default for i64

source§

fn default() -> i64

Returns the default value of 0

source§

impl<'de> Deserialize<'de> for i64

source§

fn deserialize<D>( deserializer: D ) -> Result<i64, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
1.0.0 · source§

impl Display for i64

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<Imm64> for i64

§

fn from(val: Imm64) -> i64

Converts to this type from the input type.
1.31.0 · source§

impl From<NonZeroI64> for i64

source§

fn from(nonzero: NonZeroI64) -> i64

Converts a NonZeroI64 into an i64

§

impl From<Offset32> for i64

§

fn from(val: Offset32) -> i64

Converts to this type from the input type.
§

impl From<Uimm32> for i64

§

fn from(val: Uimm32) -> i64

Converts to this type from the input type.
1.28.0 · source§

impl From<bool> for i64

source§

fn from(small: bool) -> i64

Converts a bool to a i64. The resulting value is 0 for false and 1 for true values.

Examples
assert_eq!(i64::from(true), 1);
assert_eq!(i64::from(false), 0);
1.5.0 · source§

impl From<i16> for i64

source§

fn from(small: i16) -> i64

Converts i16 to i64 losslessly.

1.5.0 · source§

impl From<i32> for i64

source§

fn from(small: i32) -> i64

Converts i32 to i64 losslessly.

1.5.0 · source§

impl From<i8> for i64

source§

fn from(small: i8) -> i64

Converts i8 to i64 losslessly.

1.5.0 · source§

impl From<u16> for i64

source§

fn from(small: u16) -> i64

Converts u16 to i64 losslessly.

1.5.0 · source§

impl From<u32> for i64

source§

fn from(small: u32) -> i64

Converts u32 to i64 losslessly.

1.5.0 · source§

impl From<u8> for i64

source§

fn from(small: u8) -> i64

Converts u8 to i64 losslessly.

source§

impl<'de, E> IntoDeserializer<'de, E> for i64where E: Error,

§

type Deserializer = I64Deserializer<E>

The type of the deserializer being converted into.
source§

fn into_deserializer(self) -> I64Deserializer<E>

Convert this value into a deserializer.
1.42.0 · source§

impl LowerExp for i64

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl LowerHex for i64

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl Octal for i64

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
source§

impl Serialize for i64

source§

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 ToValue for i64

source§

fn to_value(&self) -> Value<'_>

Perform the conversion.
source§

impl TryFrom<&BigInt> for i64

§

type Error = TryFromBigIntError<()>

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

fn try_from(value: &BigInt) -> Result<i64, TryFromBigIntError<()>>

Performs the conversion.
source§

impl TryFrom<&BigUint> for i64

§

type Error = TryFromBigIntError<()>

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

fn try_from(value: &BigUint) -> Result<i64, TryFromBigIntError<()>>

Performs the conversion.
source§

impl TryFrom<BigInt> for i64

§

type Error = TryFromBigIntError<BigInt>

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

fn try_from(value: BigInt) -> Result<i64, TryFromBigIntError<BigInt>>

Performs the conversion.
source§

impl TryFrom<BigUint> for i64

§

type Error = TryFromBigIntError<BigUint>

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

fn try_from(value: BigUint) -> Result<i64, TryFromBigIntError<BigUint>>

Performs the conversion.
§

impl<T> TryFrom<Value<T>> for i64where T: WasmValueType,

§

type Error = &'static str

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

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

Performs the conversion.
§

impl TryFrom<Value> for i64

§

type Error = Value

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

fn try_from(val: Value) -> Result<i64, <i64 as TryFrom<Value>>::Error>

Performs the conversion.
1.34.0 · source§

impl TryFrom<i128> for i64

source§

fn try_from(u: i128) -> Result<i64, <i64 as TryFrom<i128>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

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

impl TryFrom<isize> for i64

source§

fn try_from(value: isize) -> Result<i64, <i64 as TryFrom<isize>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

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

impl TryFrom<u128> for i64

source§

fn try_from(u: u128) -> Result<i64, <i64 as TryFrom<u128>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

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

impl TryFrom<u64> for i64

source§

fn try_from(u: u64) -> Result<i64, <i64 as TryFrom<u64>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

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

impl TryFrom<usize> for i64

source§

fn try_from(u: usize) -> Result<i64, <i64 as TryFrom<usize>>::Error>

Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.

§

type Error = TryFromIntError

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

impl UpperExp for i64

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl UpperHex for i64

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
§

impl Value for i64

§

fn record(&self, key: &Field, visitor: &mut dyn Visit)

Visits this value with the given Visitor.