pub struct ReadResult {
pub messages: Vec<Bytes>,
pub next_offset: Offset,
pub at_tail: bool,
pub closed: bool,
}Expand description
Read result from storage
Fields§
§messages: Vec<Bytes>Messages read
next_offset: OffsetNext offset to read from (for resumption)
at_tail: boolWhether we’re at the end of the stream
closed: boolWhether the stream is closed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReadResult
impl RefUnwindSafe for ReadResult
impl Send for ReadResult
impl Sync for ReadResult
impl Unpin for ReadResult
impl UnsafeUnpin for ReadResult
impl UnwindSafe for ReadResult
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