Struct actix_telepathy::prelude::DefaultSerialization
source · pub struct DefaultSerialization {}
Expand description
The default serialization used for remote messages
The default de/serializer is the Rust version of Flatbuffers - Flexbuffers.
Trait Implementations§
source§impl CustomSerialization for DefaultSerialization
impl CustomSerialization for DefaultSerialization
fn serialize<T>(&self, value: &T) -> Result<Vec<u8>, CustomSerializationError>
fn deserialize<'a, T>(&self, s: &'a [u8]) -> Result<T, CustomSerializationError>where
T: ?Sized + Deserialize<'a>,
Auto Trait Implementations§
impl Freeze for DefaultSerialization
impl RefUnwindSafe for DefaultSerialization
impl Send for DefaultSerialization
impl Sync for DefaultSerialization
impl Unpin for DefaultSerialization
impl UnwindSafe for DefaultSerialization
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