Struct vortex_serde::ArrayBufferReader
source · pub struct ArrayBufferReader { /* private fields */ }Implementations§
source§impl ArrayBufferReader
impl ArrayBufferReader
pub fn new() -> Self
pub fn from_fb_bytes(fb_bytes: Buffer) -> Self
pub fn read(&mut self, bytes: Bytes) -> VortexResult<Option<usize>>
pub fn into_array(self, ctx: Arc<Context>, dtype: DType) -> VortexResult<Array>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ArrayBufferReader
impl RefUnwindSafe for ArrayBufferReader
impl Send for ArrayBufferReader
impl Sync for ArrayBufferReader
impl Unpin for ArrayBufferReader
impl UnwindSafe for ArrayBufferReader
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