pub struct KeyDeserializer<'a> { /* private fields */ }Implementations§
Source§impl<'a> KeyDeserializer<'a>
impl<'a> KeyDeserializer<'a>
pub fn from_bytes(buffer: &'a [u8]) -> Self
pub fn remaining(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn position(&self) -> usize
pub fn read_bool(&mut self) -> Result<bool>
pub fn read_f32(&mut self) -> Result<f32>
pub fn read_f64(&mut self) -> Result<f64>
pub fn read_i8(&mut self) -> Result<i8>
pub fn read_i16(&mut self) -> Result<i16>
pub fn read_i32(&mut self) -> Result<i32>
pub fn read_i64(&mut self) -> Result<i64>
pub fn read_i128(&mut self) -> Result<i128>
pub fn read_u8(&mut self) -> Result<u8>
pub fn read_u16(&mut self) -> Result<u16>
pub fn read_u32(&mut self) -> Result<u32>
pub fn read_u64(&mut self) -> Result<u64>
pub fn read_u128(&mut self) -> Result<u128>
pub fn read_bytes(&mut self) -> Result<Vec<u8>>
pub fn read_str(&mut self) -> Result<String>
pub fn read_primitive_id(&mut self) -> Result<PrimitiveId>
pub fn read_index_id(&mut self) -> Result<IndexId>
pub fn read_date(&mut self) -> Result<Date>
pub fn read_datetime(&mut self) -> Result<DateTime>
pub fn read_time(&mut self) -> Result<Time>
pub fn read_duration(&mut self) -> Result<Duration>
pub fn read_row_number(&mut self) -> Result<RowNumber>
pub fn read_identity_id(&mut self) -> Result<IdentityId>
pub fn read_uuid4(&mut self) -> Result<Uuid4>
pub fn read_uuid7(&mut self) -> Result<Uuid7>
pub fn read_blob(&mut self) -> Result<Blob>
pub fn read_int(&mut self) -> Result<Int>
pub fn read_uint(&mut self) -> Result<Uint>
pub fn read_decimal(&mut self) -> Result<Decimal>
pub fn read_value(&mut self) -> Result<Value>
pub fn read_raw(&mut self, count: usize) -> Result<&'a [u8]>
Auto Trait Implementations§
impl<'a> Freeze for KeyDeserializer<'a>
impl<'a> RefUnwindSafe for KeyDeserializer<'a>
impl<'a> Send for KeyDeserializer<'a>
impl<'a> Sync for KeyDeserializer<'a>
impl<'a> Unpin for KeyDeserializer<'a>
impl<'a> UnsafeUnpin for KeyDeserializer<'a>
impl<'a> UnwindSafe for KeyDeserializer<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more