pub struct RawDecoder { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for RawDecoder
impl Clone for RawDecoder
Source§fn clone(&self) -> RawDecoder
fn clone(&self) -> RawDecoder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl CrdtReader for RawDecoder
impl CrdtReader for RawDecoder
fn get_buffer(&self) -> &Cursor<Vec<u8>>
fn get_buffer_mut(&mut self) -> &mut Cursor<Vec<u8>>
fn read_info(&mut self) -> JwstCodecResult<u8>
fn read_item_id(&mut self) -> JwstCodecResult<Id>
fn read_var_u64(&mut self) -> JwstCodecResult<u64>
fn read_var_i32(&mut self) -> JwstCodecResult<i32>
fn read_var_string(&mut self) -> JwstCodecResult<String>
fn read_var_buffer(&mut self) -> JwstCodecResult<Vec<u8>>
fn read_u8(&mut self) -> JwstCodecResult<u8>
fn read_f32_be(&mut self) -> JwstCodecResult<f32>
fn read_f64_be(&mut self) -> JwstCodecResult<f64>
fn read_i64_be(&mut self) -> JwstCodecResult<i64>
fn is_empty(&self) -> bool
fn len(&self) -> u64
Auto Trait Implementations§
impl Freeze for RawDecoder
impl RefUnwindSafe for RawDecoder
impl Send for RawDecoder
impl Sync for RawDecoder
impl Unpin for RawDecoder
impl UnwindSafe for RawDecoder
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