pub trait SerializeIntoSlice {
// Required method
fn write_into_slice(&self, buf: &mut [u8]) -> Result<usize, Error>;
}Required Methods§
Implementations on Foreign Types§
Source§impl SerializeIntoSlice for &str
§Panics
Will panic under the following conditions:
impl SerializeIntoSlice for &str
§Panics
Will panic under the following conditions:
- feature ‘str32’ active:
n >= 2^32 - feature ‘str16’ active:
n >= 2^16 - else:
n >= 2^8
Source§impl SerializeIntoSlice for bool
impl SerializeIntoSlice for bool
Source§impl SerializeIntoSlice for f32
impl SerializeIntoSlice for f32
Source§impl SerializeIntoSlice for f64
impl SerializeIntoSlice for f64
Source§impl SerializeIntoSlice for i8
impl SerializeIntoSlice for i8
Source§impl SerializeIntoSlice for i16
impl SerializeIntoSlice for i16
Source§impl SerializeIntoSlice for i32
impl SerializeIntoSlice for i32
Source§impl SerializeIntoSlice for i64
Available on crate feature i64 only.
impl SerializeIntoSlice for i64
Available on crate feature
i64 only.Source§impl SerializeIntoSlice for u8
impl SerializeIntoSlice for u8
Source§impl SerializeIntoSlice for u16
impl SerializeIntoSlice for u16
Source§impl SerializeIntoSlice for u32
impl SerializeIntoSlice for u32
Source§impl SerializeIntoSlice for u64
Available on crate feature u64 only.
impl SerializeIntoSlice for u64
Available on crate feature
u64 only.Source§impl SerializeIntoSlice for ()
impl SerializeIntoSlice for ()
Source§impl<K, V> SerializeIntoSlice for &(K, V)where
K: SerializeIntoSlice,
V: SerializeIntoSlice,
impl<K, V> SerializeIntoSlice for &(K, V)where
K: SerializeIntoSlice,
V: SerializeIntoSlice,
Source§impl<K, V> SerializeIntoSlice for &[(K, V)]where
K: SerializeIntoSlice,
V: SerializeIntoSlice,
impl<K, V> SerializeIntoSlice for &[(K, V)]where
K: SerializeIntoSlice,
V: SerializeIntoSlice,
Source§impl<T> SerializeIntoSlice for &[T]where
T: SerializeIntoSlice,
impl<T> SerializeIntoSlice for &[T]where
T: SerializeIntoSlice,
Source§impl<T> SerializeIntoSlice for Option<T>where
T: SerializeIntoSlice,
impl<T> SerializeIntoSlice for Option<T>where
T: SerializeIntoSlice,
Implementors§
impl SerializeIntoSlice for Timestamp
impl<'a> SerializeIntoSlice for &Ext<'a>
impl<'a> SerializeIntoSlice for Binary<'a>
§Panics
Will panic under the following conditions:
- feature ‘bin32’ active:
n >= 2^32 - feature ‘bin16’ active:
n >= 2^16 - else:
n >= 2^8