pub struct EncodedPodRow(/* private fields */);Implementations§
Source§impl EncodedPodRow
impl EncodedPodRow
pub fn new(body: &[u8]) -> 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 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
Source§impl EncodedPodRow
impl EncodedPodRow
pub fn thaw(self) -> EncodedPodRowBuilder
Trait Implementations§
Source§impl Clone for EncodedPodRow
impl Clone for EncodedPodRow
Source§fn clone(&self) -> EncodedPodRow
fn clone(&self) -> EncodedPodRow
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 EncodedPodRow
impl Debug for EncodedPodRow
impl Eq for EncodedPodRow
Source§impl From<EncodedBytes> for EncodedPodRow
impl From<EncodedBytes> for EncodedPodRow
Source§fn from(bytes: EncodedBytes) -> Self
fn from(bytes: EncodedBytes) -> Self
Converts to this type from the input type.
Source§impl From<EncodedPodRow> for EncodedBytes
impl From<EncodedPodRow> for EncodedBytes
Source§fn from(row: EncodedPodRow) -> Self
fn from(row: EncodedPodRow) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EncodedPodRow
impl PartialEq for EncodedPodRow
impl StructuralPartialEq for EncodedPodRow
Auto Trait Implementations§
impl Freeze for EncodedPodRow
impl RefUnwindSafe for EncodedPodRow
impl Send for EncodedPodRow
impl Sync for EncodedPodRow
impl Unpin for EncodedPodRow
impl UnsafeUnpin for EncodedPodRow
impl UnwindSafe for EncodedPodRow
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