pub enum BufferingMode {
On,
Off,
Auto,
}Expand description
buffering setting for GiST/SP-GiST index builds.
Variants§
On
Enable buffered index build.
Off
Disable buffered index build.
Auto
Let PG decide based on available memory (default).
Implementations§
Source§impl BufferingMode
impl BufferingMode
Sourcepub const fn sql_keyword(self) -> &'static str
pub const fn sql_keyword(self) -> &'static str
Returns the lowercase SQL keyword for this mode.
Trait Implementations§
Source§impl Clone for BufferingMode
impl Clone for BufferingMode
Source§fn clone(&self) -> BufferingMode
fn clone(&self) -> BufferingMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BufferingMode
Source§impl Debug for BufferingMode
impl Debug for BufferingMode
Source§impl<'de> Deserialize<'de> for BufferingMode
impl<'de> Deserialize<'de> for BufferingMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BufferingMode
Source§impl FromStr for BufferingMode
impl FromStr for BufferingMode
Source§impl Hash for BufferingMode
impl Hash for BufferingMode
Source§impl Ord for BufferingMode
impl Ord for BufferingMode
Source§fn cmp(&self, other: &BufferingMode) -> Ordering
fn cmp(&self, other: &BufferingMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BufferingMode
impl PartialEq for BufferingMode
Source§fn eq(&self, other: &BufferingMode) -> bool
fn eq(&self, other: &BufferingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BufferingMode
impl PartialOrd for BufferingMode
Source§impl Serialize for BufferingMode
impl Serialize for BufferingMode
impl StructuralPartialEq for BufferingMode
Auto Trait Implementations§
impl Freeze for BufferingMode
impl RefUnwindSafe for BufferingMode
impl Send for BufferingMode
impl Sync for BufferingMode
impl Unpin for BufferingMode
impl UnsafeUnpin for BufferingMode
impl UnwindSafe for BufferingMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more