pub struct StreamingProgress {
pub bytes_processed: usize,
pub total_bytes: Option<usize>,
pub tokens_generated: usize,
pub chunks_processed: usize,
}Expand description
스트리밍 진행 상황
Fields§
§bytes_processed: usize처리된 바이트 수
total_bytes: Option<usize>총 바이트 수 (알 수 있는 경우)
tokens_generated: usize처리된 토큰 수
chunks_processed: usize처리된 청크 수
Implementations§
Trait Implementations§
Source§impl Clone for StreamingProgress
impl Clone for StreamingProgress
Source§fn clone(&self) -> StreamingProgress
fn clone(&self) -> StreamingProgress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StreamingProgress
impl RefUnwindSafe for StreamingProgress
impl Send for StreamingProgress
impl Sync for StreamingProgress
impl Unpin for StreamingProgress
impl UnsafeUnpin for StreamingProgress
impl UnwindSafe for StreamingProgress
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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