Function wire_framed::utils::put_option_array
source · pub fn put_option_array<T>(
dst: &mut BytesMut,
arr: &[Option<T>],
put: impl Fn(&mut BytesMut, &T)
)Expand description
A utility function to put a Vec<Option> into a BytesMut.