pub struct EntryReader<'a> { /* private fields */ }Implementations§
Source§impl<'a> EntryReader<'a>
impl<'a> EntryReader<'a>
pub fn new(bytes: &'a [u8]) -> Self
pub fn is_empty(&self) -> bool
pub fn remaining(&self) -> usize
pub fn read_u8(&mut self) -> Result<u8>
pub fn read_bool(&mut self) -> Result<bool>
pub fn read_u32(&mut self) -> Result<u32>
pub fn read_bytes(&mut self) -> Result<&'a [u8]>
pub fn read_string(&mut self) -> Result<String>
pub fn read_str(&mut self) -> Result<&'a str>
pub fn read_option_str(&mut self) -> Result<Option<&'a str>>
pub fn read_option_string(&mut self) -> Result<Option<String>>
pub fn read_sql_mapping_owned(&mut self) -> Result<SqlMapping>
pub fn read_sql_array_mapping_owned(&mut self) -> Result<SqlArrayMapping>
pub fn read_returns_owned(&mut self) -> Result<Returns>
pub fn read_argument_sql_owned( &mut self, ) -> Result<Result<SqlMapping, ArgumentError>>
pub fn read_return_sql_owned(&mut self) -> Result<Result<Returns, ReturnsError>>
pub fn read_argument_error(&mut self) -> Result<ArgumentError>
pub fn read_returns_error(&mut self) -> Result<ReturnsError>
pub fn read_positioning_ref(&mut self) -> Result<PositioningRef>
pub fn read_to_sql_config(&mut self) -> Result<ToSqlConfigEntity<'a>>
pub fn read_function_metadata_type( &mut self, ) -> Result<FunctionMetadataTypeEntity<'a>>
pub fn read_type_origin(&mut self) -> Result<TypeOrigin>
pub fn read_used_type(&mut self) -> Result<UsedTypeEntity<'a>>
pub fn read_pg_extern_argument(&mut self) -> Result<PgExternArgumentEntity<'a>>
pub fn read_pg_extern_return(&mut self) -> Result<PgExternReturnEntity<'a>>
pub fn read_extern_arg(&mut self) -> Result<ExternArgs>
pub fn read_search_path(&mut self) -> Result<Option<Vec<&'a str>>>
pub fn read_operator(&mut self) -> Result<PgOperatorEntity<'a>>
pub fn read_cast(&mut self) -> Result<PgCastEntity>
pub fn read_sql_declared(&mut self) -> Result<SqlDeclaredEntity>
pub fn read_aggregate_type(&mut self) -> Result<AggregateTypeEntity<'a>>
pub fn read_aggregate_type_list( &mut self, ) -> Result<Vec<AggregateTypeEntity<'a>>>
pub fn read_finalize_modify(&mut self) -> Result<FinalizeModify>
pub fn read_parallel_option(&mut self) -> Result<ParallelOption>
pub fn finish(&self) -> Result<()>
Auto Trait Implementations§
impl<'a> Freeze for EntryReader<'a>
impl<'a> RefUnwindSafe for EntryReader<'a>
impl<'a> Send for EntryReader<'a>
impl<'a> Sync for EntryReader<'a>
impl<'a> Unpin for EntryReader<'a>
impl<'a> UnsafeUnpin for EntryReader<'a>
impl<'a> UnwindSafe for EntryReader<'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