pub struct Decoder { /* private fields */ }
Implementations§
source§impl Decoder
impl Decoder
pub fn new(config: ObjectTransmissionInformation) -> Decoder
pub fn decode(&mut self, packet: EncodingPacket) -> Option<Vec<u8>>
pub fn add_new_packet(&mut self, packet: EncodingPacket)
pub fn get_result(&self) -> Option<Vec<u8>>
Trait Implementations§
source§impl PartialEq for Decoder
impl PartialEq for Decoder
impl Eq for Decoder
impl StructuralPartialEq for Decoder
Auto Trait Implementations§
impl Freeze for Decoder
impl RefUnwindSafe for Decoder
impl Send for Decoder
impl Sync for Decoder
impl Unpin for Decoder
impl UnwindSafe for Decoder
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