pub struct AnthropicMessagesCodec;Implementations§
Source§impl AnthropicMessagesCodec
impl AnthropicMessagesCodec
pub fn restore_sse_chunks<I, B>( &self, chunks: I, ctx: &mut ResponseTransformContext<'_>, ) -> Result<ProvedResponseBody, CodecError>
Trait Implementations§
Source§impl BodyCodec for AnthropicMessagesCodec
impl BodyCodec for AnthropicMessagesCodec
fn protect_request( &self, input: &[u8], ctx: &mut RequestTransformContext<'_>, ) -> Result<ProvedRequestBody, CodecError>
fn restore_response( &self, input: &[u8], ctx: &mut ResponseTransformContext<'_>, ) -> Result<ProvedResponseBody, CodecError>
Source§impl Clone for AnthropicMessagesCodec
impl Clone for AnthropicMessagesCodec
impl Copy for AnthropicMessagesCodec
Source§impl Debug for AnthropicMessagesCodec
impl Debug for AnthropicMessagesCodec
Auto Trait Implementations§
impl Freeze for AnthropicMessagesCodec
impl RefUnwindSafe for AnthropicMessagesCodec
impl Send for AnthropicMessagesCodec
impl Sync for AnthropicMessagesCodec
impl Unpin for AnthropicMessagesCodec
impl UnsafeUnpin for AnthropicMessagesCodec
impl UnwindSafe for AnthropicMessagesCodec
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,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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