Enum postgres_protocol::types::Range
source · pub enum Range<'a> {
Empty,
Nonempty(RangeBound<Option<&'a [u8]>>, RangeBound<Option<&'a [u8]>>),
}
Expand description
A Postgres range.
Variants§
Empty
An empty range.
Nonempty(RangeBound<Option<&'a [u8]>>, RangeBound<Option<&'a [u8]>>)
A nonempty range.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Range<'a>
impl<'a> Send for Range<'a>
impl<'a> Sync for Range<'a>
impl<'a> Unpin for Range<'a>
impl<'a> UnwindSafe for Range<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more