pub struct ListStreamsResponse {
pub streams: Vec<StreamInfo>,
pub total: usize,
pub complete: bool,
pub reason: Option<&'static str>,
}Expand description
Response for listing streams
Fields§
§streams: Vec<StreamInfo>§total: usize§complete: boolfalse when a with_bytes scan saw events removed during it and its
retry, or the tenant left the cache during it, so counts and bytes can
skip or repeat events; also false when no tenant was named.
reason: Option<&'static str>no_tenant when no tenant was named; tenant_evicted when a listing
without with_bytes found the tenant evicted between its hydration
and the end of the read.
Trait Implementations§
Source§impl Debug for ListStreamsResponse
impl Debug for ListStreamsResponse
Auto Trait Implementations§
impl Forget for ListStreamsResponse
impl Freeze for ListStreamsResponse
impl Move for ListStreamsResponse
impl RefUnwindSafe for ListStreamsResponse
impl Send for ListStreamsResponse
impl Sync for ListStreamsResponse
impl Unpin for ListStreamsResponse
impl UnsafeUnpin for ListStreamsResponse
impl UnwindSafe for ListStreamsResponse
Blanket Implementations§
impl<T> Allocation for T
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