pub struct EncodedCatalogRow(/* private fields */);Implementations§
Source§impl EncodedCatalogRow
impl EncodedCatalogRow
pub fn new(body: &[u8], fingerprint: RowShapeFingerprint) -> Self
pub fn view(bytes: &EncodedBytes) -> &Self
pub fn bytes(&self) -> &EncodedBytes
pub fn as_slice(&self) -> &[u8] ⓘ
pub fn into_bytes(self) -> EncodedBytes
pub fn fingerprint(&self) -> RowShapeFingerprint
pub fn set_fingerprint(&mut self, fingerprint: RowShapeFingerprint)
pub fn is_defined(&self, index: usize) -> bool
pub fn body(&self) -> &[u8] ⓘ
pub fn body_mut(&mut self) -> &mut [u8] ⓘ
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn byte_size(&self) -> ByteSize
pub fn thaw(self) -> EncodedCatalogRowBuilder
Trait Implementations§
Source§impl Clone for EncodedCatalogRow
impl Clone for EncodedCatalogRow
Source§fn clone(&self) -> EncodedCatalogRow
fn clone(&self) -> EncodedCatalogRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EncodedCatalogRow
impl Debug for EncodedCatalogRow
Source§impl From<EncodedCatalogRow> for EncodedBytes
impl From<EncodedCatalogRow> for EncodedBytes
Source§fn from(row: EncodedCatalogRow) -> Self
fn from(row: EncodedCatalogRow) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EncodedCatalogRow
impl PartialEq for EncodedCatalogRow
impl StructuralPartialEq for EncodedCatalogRow
Source§impl TryFrom<EncodedBytes> for EncodedCatalogRow
impl TryFrom<EncodedBytes> for EncodedCatalogRow
Source§type Error = CatalogError
type Error = CatalogError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for EncodedCatalogRow
impl RefUnwindSafe for EncodedCatalogRow
impl Send for EncodedCatalogRow
impl Sync for EncodedCatalogRow
impl Unpin for EncodedCatalogRow
impl UnsafeUnpin for EncodedCatalogRow
impl UnwindSafe for EncodedCatalogRow
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