Struct taos_query::util::InlineStr
source · #[repr(C)]#[repr(packed(1))]pub struct InlineStr<T = u16> { /* private fields */ }Implementations§
Trait Implementations§
source§impl AsyncInlinable for InlineStr<u16>
impl AsyncInlinable for InlineStr<u16>
source§fn write_inlined<'life0, 'life1, 'async_trait, W>(
&'life0 self,
wtr: &'life1 mut W
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + Unpin + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_inlined<'life0, 'life1, 'async_trait, W>( &'life0 self, wtr: &'life1 mut W ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where W: 'async_trait + AsyncWrite + Unpin + Send, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Write inlined bytes to a writer.
source§fn read_inlined<'life0, 'async_trait, R>(
_: &'life0 mut R
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where
R: 'async_trait + AsyncRead + Send + Unpin,
Self: 'async_trait,
'life0: 'async_trait,
fn read_inlined<'life0, 'async_trait, R>( _: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where R: 'async_trait + AsyncRead + Send + Unpin, Self: 'async_trait, 'life0: 'async_trait,
Read inlined bytes into object.
fn read_optional_inlined<'life0, 'async_trait, R>( reader: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Option<Self>>> + Send + 'async_trait>>where Self: Sized + Send + 'async_trait, R: 'async_trait + AsyncRead + Send + Unpin, 'life0: 'async_trait,
source§fn write_inlined_with<'life0, 'life1, 'async_trait, W>(
&'life0 self,
wtr: &'life1 mut W,
_opts: InlineOpts
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + Send + Unpin,
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_inlined_with<'life0, 'life1, 'async_trait, W>( &'life0 self, wtr: &'life1 mut W, _opts: InlineOpts ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where W: 'async_trait + AsyncWrite + Send + Unpin, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Write inlined bytes with specific options
source§impl AsyncInlinable for InlineStr<u32>
impl AsyncInlinable for InlineStr<u32>
source§fn write_inlined<'life0, 'life1, 'async_trait, W>(
&'life0 self,
wtr: &'life1 mut W
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + Unpin + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_inlined<'life0, 'life1, 'async_trait, W>( &'life0 self, wtr: &'life1 mut W ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where W: 'async_trait + AsyncWrite + Unpin + Send, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Write inlined bytes to a writer.
source§fn read_inlined<'life0, 'async_trait, R>(
_: &'life0 mut R
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where
R: 'async_trait + AsyncRead + Send + Unpin,
Self: 'async_trait,
'life0: 'async_trait,
fn read_inlined<'life0, 'async_trait, R>( _: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where R: 'async_trait + AsyncRead + Send + Unpin, Self: 'async_trait, 'life0: 'async_trait,
Read inlined bytes into object.
fn read_optional_inlined<'life0, 'async_trait, R>( reader: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Option<Self>>> + Send + 'async_trait>>where Self: Sized + Send + 'async_trait, R: 'async_trait + AsyncRead + Send + Unpin, 'life0: 'async_trait,
source§fn write_inlined_with<'life0, 'life1, 'async_trait, W>(
&'life0 self,
wtr: &'life1 mut W,
_opts: InlineOpts
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + Send + Unpin,
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_inlined_with<'life0, 'life1, 'async_trait, W>( &'life0 self, wtr: &'life1 mut W, _opts: InlineOpts ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where W: 'async_trait + AsyncWrite + Send + Unpin, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Write inlined bytes with specific options
source§impl AsyncInlinable for InlineStr<u64>
impl AsyncInlinable for InlineStr<u64>
source§fn write_inlined<'life0, 'life1, 'async_trait, W>(
&'life0 self,
wtr: &'life1 mut W
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + Unpin + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_inlined<'life0, 'life1, 'async_trait, W>( &'life0 self, wtr: &'life1 mut W ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where W: 'async_trait + AsyncWrite + Unpin + Send, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Write inlined bytes to a writer.
source§fn read_inlined<'life0, 'async_trait, R>(
_: &'life0 mut R
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where
R: 'async_trait + AsyncRead + Send + Unpin,
Self: 'async_trait,
'life0: 'async_trait,
fn read_inlined<'life0, 'async_trait, R>( _: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where R: 'async_trait + AsyncRead + Send + Unpin, Self: 'async_trait, 'life0: 'async_trait,
Read inlined bytes into object.
fn read_optional_inlined<'life0, 'async_trait, R>( reader: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Option<Self>>> + Send + 'async_trait>>where Self: Sized + Send + 'async_trait, R: 'async_trait + AsyncRead + Send + Unpin, 'life0: 'async_trait,
source§fn write_inlined_with<'life0, 'life1, 'async_trait, W>(
&'life0 self,
wtr: &'life1 mut W,
_opts: InlineOpts
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + Send + Unpin,
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_inlined_with<'life0, 'life1, 'async_trait, W>( &'life0 self, wtr: &'life1 mut W, _opts: InlineOpts ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where W: 'async_trait + AsyncWrite + Send + Unpin, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Write inlined bytes with specific options
source§impl AsyncInlinable for InlineStr<u8>
impl AsyncInlinable for InlineStr<u8>
source§fn write_inlined<'life0, 'life1, 'async_trait, W>(
&'life0 self,
wtr: &'life1 mut W
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + Unpin + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_inlined<'life0, 'life1, 'async_trait, W>( &'life0 self, wtr: &'life1 mut W ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where W: 'async_trait + AsyncWrite + Unpin + Send, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Write inlined bytes to a writer.
source§fn read_inlined<'life0, 'async_trait, R>(
_: &'life0 mut R
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where
R: 'async_trait + AsyncRead + Send + Unpin,
Self: 'async_trait,
'life0: 'async_trait,
fn read_inlined<'life0, 'async_trait, R>( _: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where R: 'async_trait + AsyncRead + Send + Unpin, Self: 'async_trait, 'life0: 'async_trait,
Read inlined bytes into object.
fn read_optional_inlined<'life0, 'async_trait, R>( reader: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Option<Self>>> + Send + 'async_trait>>where Self: Sized + Send + 'async_trait, R: 'async_trait + AsyncRead + Send + Unpin, 'life0: 'async_trait,
source§fn write_inlined_with<'life0, 'life1, 'async_trait, W>(
&'life0 self,
wtr: &'life1 mut W,
_opts: InlineOpts
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + Send + Unpin,
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_inlined_with<'life0, 'life1, 'async_trait, W>( &'life0 self, wtr: &'life1 mut W, _opts: InlineOpts ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where W: 'async_trait + AsyncWrite + Send + Unpin, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Write inlined bytes with specific options
source§impl AsyncInlinable for InlineStr<usize>
impl AsyncInlinable for InlineStr<usize>
source§fn write_inlined<'life0, 'life1, 'async_trait, W>(
&'life0 self,
wtr: &'life1 mut W
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + Unpin + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_inlined<'life0, 'life1, 'async_trait, W>( &'life0 self, wtr: &'life1 mut W ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where W: 'async_trait + AsyncWrite + Unpin + Send, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Write inlined bytes to a writer.
source§fn read_inlined<'life0, 'async_trait, R>(
_: &'life0 mut R
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where
R: 'async_trait + AsyncRead + Send + Unpin,
Self: 'async_trait,
'life0: 'async_trait,
fn read_inlined<'life0, 'async_trait, R>( _: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where R: 'async_trait + AsyncRead + Send + Unpin, Self: 'async_trait, 'life0: 'async_trait,
Read inlined bytes into object.
fn read_optional_inlined<'life0, 'async_trait, R>( reader: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Option<Self>>> + Send + 'async_trait>>where Self: Sized + Send + 'async_trait, R: 'async_trait + AsyncRead + Send + Unpin, 'life0: 'async_trait,
source§fn write_inlined_with<'life0, 'life1, 'async_trait, W>(
&'life0 self,
wtr: &'life1 mut W,
_opts: InlineOpts
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + Send + Unpin,
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_inlined_with<'life0, 'life1, 'async_trait, W>( &'life0 self, wtr: &'life1 mut W, _opts: InlineOpts ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where W: 'async_trait + AsyncWrite + Send + Unpin, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Write inlined bytes with specific options
source§impl Inlinable for InlineStr<u16>
impl Inlinable for InlineStr<u16>
source§fn write_inlined<W: Write>(&self, wtr: &mut W) -> Result<usize>
fn write_inlined<W: Write>(&self, wtr: &mut W) -> Result<usize>
Write inlined bytes to a writer.
fn read_optional_inlined<R: Read>(reader: &mut R) -> Result<Option<Self>>where Self: Sized,
source§fn write_inlined_with<W: Write>(
&self,
wtr: &mut W,
_opts: InlineOpts
) -> Result<usize>
fn write_inlined_with<W: Write>( &self, wtr: &mut W, _opts: InlineOpts ) -> Result<usize>
Write inlined bytes with specific options
source§fn printable_inlined(&self) -> String
fn printable_inlined(&self) -> String
Get inlined bytes as printable string, all the bytes will displayed with escaped ascii code.
source§impl Inlinable for InlineStr<u32>
impl Inlinable for InlineStr<u32>
source§fn write_inlined<W: Write>(&self, wtr: &mut W) -> Result<usize>
fn write_inlined<W: Write>(&self, wtr: &mut W) -> Result<usize>
Write inlined bytes to a writer.
fn read_optional_inlined<R: Read>(reader: &mut R) -> Result<Option<Self>>where Self: Sized,
source§fn write_inlined_with<W: Write>(
&self,
wtr: &mut W,
_opts: InlineOpts
) -> Result<usize>
fn write_inlined_with<W: Write>( &self, wtr: &mut W, _opts: InlineOpts ) -> Result<usize>
Write inlined bytes with specific options
source§fn printable_inlined(&self) -> String
fn printable_inlined(&self) -> String
Get inlined bytes as printable string, all the bytes will displayed with escaped ascii code.
source§impl Inlinable for InlineStr<u64>
impl Inlinable for InlineStr<u64>
source§fn write_inlined<W: Write>(&self, wtr: &mut W) -> Result<usize>
fn write_inlined<W: Write>(&self, wtr: &mut W) -> Result<usize>
Write inlined bytes to a writer.
fn read_optional_inlined<R: Read>(reader: &mut R) -> Result<Option<Self>>where Self: Sized,
source§fn write_inlined_with<W: Write>(
&self,
wtr: &mut W,
_opts: InlineOpts
) -> Result<usize>
fn write_inlined_with<W: Write>( &self, wtr: &mut W, _opts: InlineOpts ) -> Result<usize>
Write inlined bytes with specific options
source§fn printable_inlined(&self) -> String
fn printable_inlined(&self) -> String
Get inlined bytes as printable string, all the bytes will displayed with escaped ascii code.
source§impl Inlinable for InlineStr<u8>
impl Inlinable for InlineStr<u8>
source§fn write_inlined<W: Write>(&self, wtr: &mut W) -> Result<usize>
fn write_inlined<W: Write>(&self, wtr: &mut W) -> Result<usize>
Write inlined bytes to a writer.
fn read_optional_inlined<R: Read>(reader: &mut R) -> Result<Option<Self>>where Self: Sized,
source§fn write_inlined_with<W: Write>(
&self,
wtr: &mut W,
_opts: InlineOpts
) -> Result<usize>
fn write_inlined_with<W: Write>( &self, wtr: &mut W, _opts: InlineOpts ) -> Result<usize>
Write inlined bytes with specific options
source§fn printable_inlined(&self) -> String
fn printable_inlined(&self) -> String
Get inlined bytes as printable string, all the bytes will displayed with escaped ascii code.
source§impl Inlinable for InlineStr<usize>
impl Inlinable for InlineStr<usize>
source§fn write_inlined<W: Write>(&self, wtr: &mut W) -> Result<usize>
fn write_inlined<W: Write>(&self, wtr: &mut W) -> Result<usize>
Write inlined bytes to a writer.
fn read_optional_inlined<R: Read>(reader: &mut R) -> Result<Option<Self>>where Self: Sized,
source§fn write_inlined_with<W: Write>(
&self,
wtr: &mut W,
_opts: InlineOpts
) -> Result<usize>
fn write_inlined_with<W: Write>( &self, wtr: &mut W, _opts: InlineOpts ) -> Result<usize>
Write inlined bytes with specific options
source§fn printable_inlined(&self) -> String
fn printable_inlined(&self) -> String
Get inlined bytes as printable string, all the bytes will displayed with escaped ascii code.