pub struct MsgPack;Expand description
A codec for MessagePack.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MsgPack
impl RefUnwindSafe for MsgPack
impl Send for MsgPack
impl Sync for MsgPack
impl Unpin for MsgPack
impl UnwindSafe for MsgPack
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
source§impl<T, Request, Err> FromReq<MsgPack, Request, Err> for T
impl<T, Request, Err> FromReq<MsgPack, Request, Err> for T
source§async fn from_req(req: Request) -> Result<T, ServerFnError<Err>>
async fn from_req(req: Request) -> Result<T, ServerFnError<Err>>
Attempts to deserialize the arguments from a request.
source§impl<T, Response, Err> FromRes<MsgPack, Response, Err> for T
impl<T, Response, Err> FromRes<MsgPack, Response, Err> for T
source§async fn from_res(res: Response) -> Result<T, ServerFnError<Err>>
async fn from_res(res: Response) -> Result<T, ServerFnError<Err>>
Attempts to deserialize the outputs from a response.
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, Response, Err> IntoRes<MsgPack, Response, Err> for T
impl<T, Response, Err> IntoRes<MsgPack, Response, Err> for T
source§async fn into_res(self) -> Result<Response, ServerFnError<Err>>
async fn into_res(self) -> Result<Response, ServerFnError<Err>>
Attempts to serialize the output into an HTTP response.
source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.