pub fn range_to_sql<F, G>(
    lower: F,
    upper: G,
    buf: &mut BytesMut
) -> Result<(), Box<dyn Error + Sync + Send>>where
    F: FnOnce(&mut BytesMut) -> Result<RangeBound<IsNull>, Box<dyn Error + Sync + Send>>,
    G: FnOnce(&mut BytesMut) -> Result<RangeBound<IsNull>, Box<dyn Error + Sync + Send>>,
Expand description

Serializes a range value.