Trait ByteBufferWrite

Source
pub trait ByteBufferWrite {
    // Required methods
    fn write_to_bytey_buffer(
        &self,
        buffer: &mut ByteBuffer,
    ) -> Result<(), ByteBufferError>;
    fn write_to_bytey_buffer_le(
        &self,
        buffer: &mut ByteBuffer,
    ) -> Result<(), ByteBufferError>;
    fn write_to_bytey_buffer_be(
        &self,
        buffer: &mut ByteBuffer,
    ) -> Result<(), ByteBufferError>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl ByteBufferWrite for &bool

Source§

impl ByteBufferWrite for &f32

Source§

impl ByteBufferWrite for &f64

Source§

impl ByteBufferWrite for &i8

Source§

impl ByteBufferWrite for &i16

Source§

impl ByteBufferWrite for &i32

Source§

impl ByteBufferWrite for &i64

Source§

impl ByteBufferWrite for &i128

Source§

impl ByteBufferWrite for &isize

Source§

impl ByteBufferWrite for &u8

Source§

impl ByteBufferWrite for &u16

Source§

impl ByteBufferWrite for &u32

Source§

impl ByteBufferWrite for &u64

Source§

impl ByteBufferWrite for &u128

Source§

impl ByteBufferWrite for &usize

Source§

impl ByteBufferWrite for &String

Source§

impl ByteBufferWrite for bool

Source§

impl ByteBufferWrite for char

Source§

impl ByteBufferWrite for f32

Source§

impl ByteBufferWrite for f64

Source§

impl ByteBufferWrite for i8

Source§

impl ByteBufferWrite for i16

Source§

impl ByteBufferWrite for i32

Source§

impl ByteBufferWrite for i64

Source§

impl ByteBufferWrite for i128

Source§

impl ByteBufferWrite for isize

Source§

impl ByteBufferWrite for str

Source§

impl ByteBufferWrite for u8

Source§

impl ByteBufferWrite for u16

Source§

impl ByteBufferWrite for u32

Source§

impl ByteBufferWrite for u64

Source§

impl ByteBufferWrite for u128

Source§

impl ByteBufferWrite for usize

Source§

impl ByteBufferWrite for String

Source§

impl ByteBufferWrite for NonZero<i8>

Source§

impl ByteBufferWrite for NonZero<i16>

Source§

impl ByteBufferWrite for NonZero<i32>

Source§

impl ByteBufferWrite for NonZero<i64>

Source§

impl ByteBufferWrite for NonZero<i128>

Source§

impl ByteBufferWrite for NonZero<isize>

Source§

impl ByteBufferWrite for NonZero<u8>

Source§

impl ByteBufferWrite for NonZero<u16>

Source§

impl ByteBufferWrite for NonZero<u32>

Source§

impl ByteBufferWrite for NonZero<u64>

Source§

impl ByteBufferWrite for NonZero<u128>

Source§

impl ByteBufferWrite for NonZero<usize>

Source§

impl ByteBufferWrite for Duration

Source§

impl<'a> ByteBufferWrite for &'a str

Source§

impl<A> ByteBufferWrite for (A,)
where A: ByteBufferWrite,

Source§

impl<A, B> ByteBufferWrite for (A, B)

Source§

impl<A, B, C> ByteBufferWrite for (A, B, C)

Source§

impl<A, B, C, D> ByteBufferWrite for (A, B, C, D)

Source§

impl<A, B, C, D, E> ByteBufferWrite for (A, B, C, D, E)

Source§

impl<A, B, C, D, E, F> ByteBufferWrite for (A, B, C, D, E, F)

Source§

impl<A, B, C, D, E, F, G> ByteBufferWrite for (A, B, C, D, E, F, G)

Source§

impl<A, B, C, D, E, F, G, H> ByteBufferWrite for (A, B, C, D, E, F, G, H)

Source§

impl<A, B, C, D, E, F, G, H, I> ByteBufferWrite for (A, B, C, D, E, F, G, H, I)

Source§

impl<A, B, C, D, E, F, G, H, I, J> ByteBufferWrite for (A, B, C, D, E, F, G, H, I, J)

Source§

impl<A, B, C, D, E, F, G, H, I, J, K> ByteBufferWrite for (A, B, C, D, E, F, G, H, I, J, K)

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L> ByteBufferWrite for (A, B, C, D, E, F, G, H, I, J, K, L)

Source§

impl<E> ByteBufferWrite for &Result<(), E>
where E: ByteBufferWrite,

Source§

impl<E> ByteBufferWrite for Result<(), E>
where E: ByteBufferWrite,

Source§

impl<T> ByteBufferWrite for &Option<T>
where T: ByteBufferWrite,

Source§

impl<T> ByteBufferWrite for &Vec<T>
where T: ByteBufferWrite,

Source§

impl<T> ByteBufferWrite for Cow<'_, T>

Source§

impl<T> ByteBufferWrite for Bound<T>
where T: ByteBufferWrite,

Source§

impl<T> ByteBufferWrite for Option<T>
where T: ByteBufferWrite,

Source§

impl<T> ByteBufferWrite for [T]
where T: ByteBufferWrite,

Source§

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

Source§

impl<T> ByteBufferWrite for Vec<T>
where T: ByteBufferWrite,

Source§

impl<T> ByteBufferWrite for Cell<T>
where T: ByteBufferWrite + Copy,

Source§

impl<T> ByteBufferWrite for RefCell<T>
where T: ByteBufferWrite + ?Sized,

Source§

impl<T> ByteBufferWrite for PhantomData<T>

Source§

impl<T> ByteBufferWrite for Saturating<T>
where T: ByteBufferWrite + Copy,

Source§

impl<T> ByteBufferWrite for Wrapping<T>
where T: ByteBufferWrite + Copy,

Source§

impl<T> ByteBufferWrite for Range<T>
where T: ByteBufferWrite,

Source§

impl<T> ByteBufferWrite for RangeInclusive<T>
where T: ByteBufferWrite,

Source§

impl<T, E> ByteBufferWrite for &Result<T, E>

Source§

impl<T, E> ByteBufferWrite for Result<T, E>

Source§

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

Implementors§