Skip to main content

array_recv

Function array_recv 

Source
pub fn array_recv<'a, T>(
    recv: &mut Recv<'a>,
    elem: Oid,
    element: impl FnMut(&mut Recv<'a>) -> Result<T, TypeError>,
) -> Result<Array<T>, TypeError>
Expand description

The binary input of an array. elem is the element type that the column or the parameter has, and element is the receive function of that type, which gets the bytes of one element.