Function postgres_protocol::types::range_to_sql [] [src]

pub fn range_to_sql<F, G>(
    lower: F,
    upper: G,
    buf: &mut Vec<u8>
) -> Result<(), StdBox<Error + Sync + Send>> where
    F: FnOnce(&mut Vec<u8>) -> Result<RangeBound<IsNull>, StdBox<Error + Sync + Send>>,
    G: FnOnce(&mut Vec<u8>) -> Result<RangeBound<IsNull>, StdBox<Error + Sync + Send>>, 

Serializes a range value.