Type Alias holochain::prelude::dependencies::kitsune_p2p_types::ProcCountMicros
source · pub type ProcCountMicros = i64;
Expand description
Typedef for result of proc_count_now()
.
This value is on the scale of microseconds.
Trait Implementations§
source§impl<'de> Deserialize<'de> for i64
impl<'de> Deserialize<'de> for i64
source§fn deserialize<D>(
deserializer: D
) -> Result<i64, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<i64, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
1.31.0 · source§impl From<NonZeroI64> for i64
impl From<NonZeroI64> for i64
source§fn from(nonzero: NonZeroI64) -> i64
fn from(nonzero: NonZeroI64) -> i64
Converts a NonZeroI64
into an i64
source§impl<'de, E> IntoDeserializer<'de, E> for i64where
E: Error,
impl<'de, E> IntoDeserializer<'de, E> for i64where E: Error,
§type Deserializer = I64Deserializer<E>
type Deserializer = I64Deserializer<E>
source§fn into_deserializer(self) -> I64Deserializer<E>
fn into_deserializer(self) -> I64Deserializer<E>
source§impl Serialize for i64
impl Serialize for i64
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,
1.34.0 · source§impl TryFrom<i128> for i64
impl TryFrom<i128> for i64
source§fn try_from(u: i128) -> Result<i64, <i64 as TryFrom<i128>>::Error>
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
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<isize> for i64
impl TryFrom<isize> for i64
source§fn try_from(value: isize) -> Result<i64, <i64 as TryFrom<isize>>::Error>
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
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<u128> for i64
impl TryFrom<u128> for i64
source§fn try_from(u: u128) -> Result<i64, <i64 as TryFrom<u128>>::Error>
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
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<u64> for i64
impl TryFrom<u64> for i64
source§fn try_from(u: u64) -> Result<i64, <i64 as TryFrom<u64>>::Error>
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
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<usize> for i64
impl TryFrom<usize> for i64
source§fn try_from(u: usize) -> Result<i64, <i64 as TryFrom<usize>>::Error>
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.