Struct cln_plugin::codec::JsonCodec
source · [−]pub struct JsonCodec { /* private fields */ }Trait Implementations
sourceimpl Decoder for JsonCodec
impl Decoder for JsonCodec
sourcefn decode(&mut self, buf: &mut BytesMut) -> Result<Option<Self::Item>, Error>
fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<Self::Item>, Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
Auto Trait Implementations
impl RefUnwindSafe for JsonCodec
impl Send for JsonCodec
impl Sync for JsonCodec
impl Unpin for JsonCodec
impl UnwindSafe for JsonCodec
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