Struct bird_protocol::packet_types::ProtocolJson
source · [−]pub struct ProtocolJson;
Trait Implementations
sourceimpl<'a, T: 'a + Deserialize<'a>> PacketVariantReadable<'a, T> for ProtocolJson
impl<'a, T: 'a + Deserialize<'a>> PacketVariantReadable<'a, T> for ProtocolJson
fn read_variant<R>(read: &mut R) -> Result<T, PacketReadableError> where
R: PacketRead<'a>,
sourceimpl<T: Serialize> PacketVariantWritable<T> for ProtocolJson
impl<T: Serialize> PacketVariantWritable<T> for ProtocolJson
fn write_variant<W>(object: &T, write: &mut W) -> Result<(), Error> where
W: PacketWrite,
Auto Trait Implementations
impl RefUnwindSafe for ProtocolJson
impl Send for ProtocolJson
impl Sync for ProtocolJson
impl Unpin for ProtocolJson
impl UnwindSafe for ProtocolJson
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more