fn encode<E: for<'a> Extend<&'a u8>>(&self, buf: &mut E) {
        buf.extend(&[CURRENT_VERSION]);
        // TODO: Storing the length here will be pretty wasteful. Revisit.
        let len: u64 = u64::cast_from(self.data.len());
        buf.extend(&len.to_le_bytes());
        buf.extend(&self.data[..]);
    }
/// Encodes a row into the permanent storage format.
///
/// This perfectly round-trips through [Row::decode]. It's guaranteed to be
/// readable by future versions of Materialize through v(TODO: Figure out
/// our policy).
Encodes a row into the permanent storage format.
This perfectly round-trips through [Row::decode]. It's guaranteed to be
readable by future versions of Materialize through v(TODO: Figure out
our policy).
Encodes a row into the permanent storage format . This perfectly round - trips through [ Row :: decode ] . It ' s guaranteed to be readable by future versions of Materialize through v ( TODO : Figure out our policy ) .
fn encode<E: for<'a> Extend<&'a u8>>(&self, buf: &mut E) {
        buf.extend(&[CURRENT_VERSION]);
        // TODO: Storing the length here will be pretty wasteful. Revisit.
        let len: u64 = u64::cast_from(self.data.len());
        buf.extend(&len.to_le_bytes());
        buf.extend(&self.data[..]);
    }
fn encode < E : for < ' a > Extend < & ' a u8 > > ( & self , buf : & mut E ) { buf . extend ( & [ CURRENT_VERSION ] ) ; // TODO: Storing the length here will be pretty wasteful. Revisit. let len : u64 = u64 :: cast_from ( self . data . len ( ) ) ; buf . extend ( & len . to_le_bytes ( ) ) ; buf . extend ( & self . data [ .. ] ) ; }
Encodes a row into the permanent storage format.
Encodes a row into the permanent storage format .
&self
buf
&mut E
&self
buf
&mut E