pub struct EnetEncoder;
Implementations§
Source§impl EnetEncoder
impl EnetEncoder
pub const fn new() -> Self
pub fn encode( &mut self, item: &RequestEnvelope, buf: &mut BytesMut, ) -> Result<(), EnetEncoderError>
Trait Implementations§
Source§impl Default for EnetEncoder
impl Default for EnetEncoder
Source§fn default() -> EnetEncoder
fn default() -> EnetEncoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EnetEncoder
impl RefUnwindSafe for EnetEncoder
impl Send for EnetEncoder
impl Sync for EnetEncoder
impl Unpin for EnetEncoder
impl UnwindSafe for EnetEncoder
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