pub struct SessionControlCodec;Implementations§
Source§impl SessionControlCodec
impl SessionControlCodec
pub fn encode(control: &SessionControl) -> ProtocolResult<Bytes>
pub fn decode(payload: &[u8]) -> ProtocolResult<SessionControl>
Auto Trait Implementations§
impl Freeze for SessionControlCodec
impl RefUnwindSafe for SessionControlCodec
impl Send for SessionControlCodec
impl Sync for SessionControlCodec
impl Unpin for SessionControlCodec
impl UnsafeUnpin for SessionControlCodec
impl UnwindSafe for SessionControlCodec
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