pub struct FeedFrame<'a> {
pub offset: u64,
pub bytes: &'a [u8],
}Expand description
One decoded feed entry: the offset plus the frame’s wire bytes
(envelope + offset + RESP argv — same encoding replicas consume;
[crate::replica_decode] parses it).
Fields§
§offset: u64Offset the source assigned at push time.
bytes: &'a [u8]Wire-encoded frame bytes.
Auto Trait Implementations§
impl<'a> Freeze for FeedFrame<'a>
impl<'a> RefUnwindSafe for FeedFrame<'a>
impl<'a> Send for FeedFrame<'a>
impl<'a> Sync for FeedFrame<'a>
impl<'a> Unpin for FeedFrame<'a>
impl<'a> UnsafeUnpin for FeedFrame<'a>
impl<'a> UnwindSafe for FeedFrame<'a>
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