pub struct BincodeFfiFormat;Expand description
The default serialisation format implementation used in the FFI calls. Uses bincode.
Trait Implementations§
Source§impl Debug for BincodeFfiFormat
impl Debug for BincodeFfiFormat
Source§impl FfiFormat for BincodeFfiFormat
impl FfiFormat for BincodeFfiFormat
type Error = Box<ErrorKind>
Source§fn serialize<T: Serialize>(
buffer: &mut Vec<u8>,
value: &T,
) -> Result<(), Self::Error>
fn serialize<T: Serialize>( buffer: &mut Vec<u8>, value: &T, ) -> Result<(), Self::Error>
Serialize an instance of
T into the provided growable byte buffer. Read moreSource§fn deserialize<'de, T: Deserialize<'de>>(
bytes: &'de [u8],
) -> Result<T, Self::Error>
fn deserialize<'de, T: Deserialize<'de>>( bytes: &'de [u8], ) -> Result<T, Self::Error>
Deserialize an instance of
T from the provided byte slice. Read moreAuto Trait Implementations§
impl Freeze for BincodeFfiFormat
impl RefUnwindSafe for BincodeFfiFormat
impl Send for BincodeFfiFormat
impl Sync for BincodeFfiFormat
impl Unpin for BincodeFfiFormat
impl UnsafeUnpin for BincodeFfiFormat
impl UnwindSafe for BincodeFfiFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more