[][src]Trait amq_protocol::frame::SerializeFn

pub trait SerializeFn<W>: Fn(WriteContext<W>) -> Result<WriteContext<W>, GenError> { }

Trait for serializing functions

Serializing functions take one input W that is the target of writing and return an instance of cookie_factory::GenResult.

This trait is implemented for all Fn(W) -> GenResult<W>.

Implementors

impl<W, F> SerializeFn<W> for F where
    F: Fn(WriteContext<W>) -> Result<WriteContext<W>, GenError>, 
[src]

Loading content...