pub struct GraphPostingCodec;Expand description
Versioned codec between graph side-table storage and an ordinary posting payload. Encoding preserves graph metadata rather than stripping it.
Implementations§
Source§impl GraphPostingCodec
impl GraphPostingCodec
pub fn encode(graph: GraphPostingList) -> PostingList
pub fn decode(posting: &PostingList) -> GraphPostingList
Auto Trait Implementations§
impl Freeze for GraphPostingCodec
impl RefUnwindSafe for GraphPostingCodec
impl Send for GraphPostingCodec
impl Sync for GraphPostingCodec
impl Unpin for GraphPostingCodec
impl UnsafeUnpin for GraphPostingCodec
impl UnwindSafe for GraphPostingCodec
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