pub struct ClaudeToGeminiStream { /* private fields */ }Implementations§
Source§impl ClaudeToGeminiStream
impl ClaudeToGeminiStream
pub fn is_finished(&self) -> bool
pub fn on_event( &mut self, event: ClaudeStreamEvent, out: &mut Vec<GeminiGenerateContentResponseBody>, ) -> Result<(), TransformError>
Trait Implementations§
Source§impl Clone for ClaudeToGeminiStream
impl Clone for ClaudeToGeminiStream
Source§fn clone(&self) -> ClaudeToGeminiStream
fn clone(&self) -> ClaudeToGeminiStream
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 moreSource§impl Debug for ClaudeToGeminiStream
impl Debug for ClaudeToGeminiStream
Source§impl Default for ClaudeToGeminiStream
impl Default for ClaudeToGeminiStream
Source§fn default() -> ClaudeToGeminiStream
fn default() -> ClaudeToGeminiStream
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClaudeToGeminiStream
impl RefUnwindSafe for ClaudeToGeminiStream
impl Send for ClaudeToGeminiStream
impl Sync for ClaudeToGeminiStream
impl Unpin for ClaudeToGeminiStream
impl UnsafeUnpin for ClaudeToGeminiStream
impl UnwindSafe for ClaudeToGeminiStream
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