Type Definition carrier_pigeon::net::SerFn

source · []
pub type SerFn = fn(_: &(dyn Any + Send + Sync)) -> Result<Vec<u8>, Error>;
Expand description

The function used to serialize a message.

fn(&(dyn Any + Send + Sync)) -> Result<Vec, io::Error>