Trait rasn::types::IntegerType
source · pub trait IntegerType:
Sized
+ Clone
+ Debug
+ TryFrom<i64>
+ TryFrom<i128>
+ TryInto<i128>
+ Into<Integer>
+ Num
+ CheckedAdd {
const WIDTH: u32;
// Required methods
fn try_from_bytes(input: &[u8], codec: Codec) -> Result<Self, DecodeError>;
fn try_from_signed_bytes(
input: &[u8],
codec: Codec,
) -> Result<Self, DecodeError>;
fn try_from_unsigned_bytes(
input: &[u8],
codec: Codec,
) -> Result<Self, DecodeError>;
}Required Associated Constants§
Required Methods§
fn try_from_bytes(input: &[u8], codec: Codec) -> Result<Self, DecodeError>
fn try_from_signed_bytes( input: &[u8], codec: Codec, ) -> Result<Self, DecodeError>
fn try_from_unsigned_bytes( input: &[u8], codec: Codec, ) -> Result<Self, DecodeError>
Object Safety§
This trait is not object safe.