Decode

Trait Decode 

Source
pub trait Decode {
    // Required method
    fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>;
}

Required Methods§

Source

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Implementations on Foreign Types§

Source§

impl Decode for bool

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for f32

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for f64

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for i8

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for i16

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for i32

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for i64

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for i128

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for isize

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for u8

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for u16

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for u32

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for u64

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for u128

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for usize

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for String

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl Decode for RedoubtString

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl<T> Decode for Option<T>

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl<T> Decode for Box<T>
where T: Decode,

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl<T> Decode for Vec<T>
where T: DecodeSlice + PreAlloc + FastZeroizable + ZeroizeMetadata,

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl<T> Decode for AllockedVec<T>

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl<T> Decode for RedoubtOption<T>

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl<T> Decode for RedoubtVec<T>
where T: DecodeSlice + PreAlloc + FastZeroizable + ZeroizeMetadata + ZeroizationProbe,

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl<T, const N: usize> Decode for [T; N]
where T: DecodeSlice + FastZeroizable + ZeroizeMetadata,

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Source§

impl<T, const N: usize> Decode for RedoubtArray<T, N>
where T: DecodeSlice + FastZeroizable + ZeroizeMetadata + ZeroizationProbe,

Source§

fn decode_from(&mut self, buf: &mut &mut [u8]) -> Result<(), DecodeError>

Implementors§