pub struct ButtplugClientJSONSerializerImpl { /* private fields */ }Implementations§
Source§impl ButtplugClientJSONSerializerImpl
impl ButtplugClientJSONSerializerImpl
pub fn deserialize<T>( &self, msg: &ButtplugSerializedMessage, ) -> Result<Vec<T>, ButtplugSerializerError>
pub fn serialize<T>(&self, msg: &[T]) -> ButtplugSerializedMessage
Trait Implementations§
Source§impl Default for ButtplugClientJSONSerializerImpl
impl Default for ButtplugClientJSONSerializerImpl
Source§fn default() -> ButtplugClientJSONSerializerImpl
fn default() -> ButtplugClientJSONSerializerImpl
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ButtplugClientJSONSerializerImpl
impl !RefUnwindSafe for ButtplugClientJSONSerializerImpl
impl Send for ButtplugClientJSONSerializerImpl
impl Sync for ButtplugClientJSONSerializerImpl
impl Unpin for ButtplugClientJSONSerializerImpl
impl UnsafeUnpin for ButtplugClientJSONSerializerImpl
impl !UnwindSafe for ButtplugClientJSONSerializerImpl
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