Struct tiny_rpc::serialize::SerializedFrame[][src]

pub struct SerializedFrame<S: RpcSerializer>(_, _);

Implementations

impl<S: RpcSerializer> SerializedFrame<S>[src]

pub fn new(buf: impl Into<Bytes>) -> Self[src]

pub fn inner(&self) -> Bytes[src]

Trait Implementations

impl<S: RpcSerializer> From<Bytes> for SerializedFrame<S>[src]

impl<S: RpcSerializer> From<BytesMut> for SerializedFrame<S>[src]

impl<T: Serialize + DeserializeOwned, S: RpcSerializer> RpcFrame<T> for SerializedFrame<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for SerializedFrame<S> where
    S: RefUnwindSafe

impl<S> Send for SerializedFrame<S>

impl<S> Sync for SerializedFrame<S>

impl<S> Unpin for SerializedFrame<S> where
    S: Unpin

impl<S> UnwindSafe for SerializedFrame<S> where
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.