pub struct RecordStream<'a> { /* private fields */ }Expand description
Record のストリームを操作するためのヘルパー
Implementations§
Source§impl<'a> RecordStream<'a>
impl<'a> RecordStream<'a>
pub fn new(records: &'a [Record]) -> Self
Sourcepub fn actions(&self) -> impl Iterator<Item = &ActionRecord>
pub fn actions(&self) -> impl Iterator<Item = &ActionRecord>
Action Records のみ抽出
Sourcepub fn llm_calls(&self) -> impl Iterator<Item = &LlmCallRecord>
pub fn llm_calls(&self) -> impl Iterator<Item = &LlmCallRecord>
Llm Records のみ抽出
Sourcepub fn dependency_graphs(&self) -> impl Iterator<Item = &DependencyGraphRecord>
pub fn dependency_graphs(&self) -> impl Iterator<Item = &DependencyGraphRecord>
DependencyGraph Records のみ抽出
Sourcepub fn sorted_by_time(&self) -> Vec<&Record>
pub fn sorted_by_time(&self) -> Vec<&Record>
タイムスタンプでソートした Iterator
Auto Trait Implementations§
impl<'a> Freeze for RecordStream<'a>
impl<'a> RefUnwindSafe for RecordStream<'a>
impl<'a> Send for RecordStream<'a>
impl<'a> Sync for RecordStream<'a>
impl<'a> Unpin for RecordStream<'a>
impl<'a> UnwindSafe for RecordStream<'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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more