#[repr(C)]pub struct VldbSqliteByteBuffer {
pub data: *mut u8,
pub len: u64,
pub cap: u64,
}Expand description
可释放字节缓冲区结构,供 QueryStream chunk getter 返回。 Releasable byte-buffer structure returned by QueryStream chunk getters.
Fields§
§data: *mut u8字节数据指针。 Pointer to the byte data.
len: u64字节长度。 Length of the byte data.
cap: u64原始容量,用于恢复 Vec<u8>。
Original capacity used to rebuild the source Vec<u8>.
Trait Implementations§
Source§impl Clone for VldbSqliteByteBuffer
impl Clone for VldbSqliteByteBuffer
Source§fn clone(&self) -> VldbSqliteByteBuffer
fn clone(&self) -> VldbSqliteByteBuffer
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 Debug for VldbSqliteByteBuffer
impl Debug for VldbSqliteByteBuffer
Source§impl Default for VldbSqliteByteBuffer
impl Default for VldbSqliteByteBuffer
Source§fn default() -> VldbSqliteByteBuffer
fn default() -> VldbSqliteByteBuffer
Returns the “default value” for a type. Read more
impl Copy for VldbSqliteByteBuffer
Auto Trait Implementations§
impl Freeze for VldbSqliteByteBuffer
impl RefUnwindSafe for VldbSqliteByteBuffer
impl !Send for VldbSqliteByteBuffer
impl !Sync for VldbSqliteByteBuffer
impl Unpin for VldbSqliteByteBuffer
impl UnsafeUnpin for VldbSqliteByteBuffer
impl UnwindSafe for VldbSqliteByteBuffer
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request