pub struct ScratchPool { /* private fields */ }Expand description
Pool of decoder-internal scratch buffers, reusable across many
Decoder::decode_into_with_scratch
/ decode_rows_with_scratch
calls.
Implementations§
Source§impl ScratchPool
impl ScratchPool
Trait Implementations§
Source§impl Debug for ScratchPool
impl Debug for ScratchPool
Source§impl Default for ScratchPool
impl Default for ScratchPool
Source§fn default() -> ScratchPool
fn default() -> ScratchPool
Returns the “default value” for a type. Read more
Source§impl ScratchPool for ScratchPool
impl ScratchPool for ScratchPool
Auto Trait Implementations§
impl Freeze for ScratchPool
impl RefUnwindSafe for ScratchPool
impl Send for ScratchPool
impl Sync for ScratchPool
impl Unpin for ScratchPool
impl UnsafeUnpin for ScratchPool
impl UnwindSafe for ScratchPool
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> 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