Trait jppe::ByteEncode

source ·
pub trait ByteEncode {
    // Required method
    fn encode(
        &self,
        input: &mut Vec<u8>,
        cattr: Option<&ContainerAttrModifiers>,
        fattr: Option<&FieldAttrModifiers<'_>>
    );
}

Required Methods§

source

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

Implementations on Foreign Types§

source§

impl ByteEncode for &str

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for &[u8]

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for IpAddr

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl ByteEncode for bool

source§

fn encode( &self, input: &mut Vec<u8>, _cattr: Option<&ContainerAttrModifiers>, _fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for f32

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for f64

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for i8

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for i16

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for i32

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for i64

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for i128

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for isize

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for u8

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for u16

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for u32

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for u64

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for u128

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for usize

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for String

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for Ipv4Addr

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl ByteEncode for Ipv6Addr

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl ByteEncode for HashMap<&str, &str>

source§

fn encode( &self, input: &mut Vec<u8>, _cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for HashMap<&[u8], &[u8]>

source§

fn encode( &self, input: &mut Vec<u8>, _cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl ByteEncode for HashMap<String, String>

source§

fn encode( &self, input: &mut Vec<u8>, _cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl<T> ByteEncode for PhantomData<T>

source§

fn encode( &self, _input: &mut Vec<u8>, _cattr: Option<&ContainerAttrModifiers>, _fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl<T, const N: usize> ByteEncode for [T; N]
where T: ByteEncode,

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )
where Self: Sized,

source§

impl<T: ByteEncode> ByteEncode for Option<T>

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl<T: ByteEncode> ByteEncode for Vec<T>

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl<t1: ByteEncode> ByteEncode for (t1,)

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl<t1: ByteEncode, t2: ByteEncode> ByteEncode for (t1, t2)

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl<t1: ByteEncode, t2: ByteEncode, t3: ByteEncode> ByteEncode for (t1, t2, t3)

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl<t1: ByteEncode, t2: ByteEncode, t3: ByteEncode, t4: ByteEncode> ByteEncode for (t1, t2, t3, t4)

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl<t1: ByteEncode, t2: ByteEncode, t3: ByteEncode, t4: ByteEncode, t5: ByteEncode> ByteEncode for (t1, t2, t3, t4, t5)

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl<t1: ByteEncode, t2: ByteEncode, t3: ByteEncode, t4: ByteEncode, t5: ByteEncode, t6: ByteEncode> ByteEncode for (t1, t2, t3, t4, t5, t6)

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl<t1: ByteEncode, t2: ByteEncode, t3: ByteEncode, t4: ByteEncode, t5: ByteEncode, t6: ByteEncode, t7: ByteEncode> ByteEncode for (t1, t2, t3, t4, t5, t6, t7)

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl<t1: ByteEncode, t2: ByteEncode, t3: ByteEncode, t4: ByteEncode, t5: ByteEncode, t6: ByteEncode, t7: ByteEncode, t8: ByteEncode> ByteEncode for (t1, t2, t3, t4, t5, t6, t7, t8)

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

source§

impl<t1: ByteEncode, t2: ByteEncode, t3: ByteEncode, t4: ByteEncode, t5: ByteEncode, t6: ByteEncode, t7: ByteEncode, t8: ByteEncode, t9: ByteEncode> ByteEncode for (t1, t2, t3, t4, t5, t6, t7, t8, t9)

source§

fn encode( &self, input: &mut Vec<u8>, cattr: Option<&ContainerAttrModifiers>, fattr: Option<&FieldAttrModifiers<'_>> )

Implementors§