Function postgres_protocol::types::range_to_sql
[−]
[src]
pub fn range_to_sql<F, G>(lower: F, upper: G, buf: &mut Vec<u8>) -> Result<(), Box<Error + Sync + Send>> where F: FnOnce(&mut Vec<u8>) -> Result<RangeBound<IsNull>, Box<Error + Sync + Send>>, G: FnOnce(&mut Vec<u8>) -> Result<RangeBound<IsNull>, Box<Error + Sync + Send>>
Serializes a range value.