pub enum FunctionParallel {
Unsafe,
Restricted,
Safe,
}Expand description
If it is safe for PostgreSQL to call the function from multiple threads at once
Variants§
Unsafe
The function is not safe to run in parallel.
Restricted
The function is restricted for parallel execution.
Safe
The function is safe to run in parallel.
Trait Implementations§
Source§impl Clone for FunctionParallel
impl Clone for FunctionParallel
Source§fn clone(&self) -> FunctionParallel
fn clone(&self) -> FunctionParallel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Source§impl Debug for FunctionParallel
impl Debug for FunctionParallel
Source§impl<'de> Deserialize<'de> for FunctionParallel
impl<'de> Deserialize<'de> for FunctionParallel
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>,
where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FunctionParallel
impl Display for FunctionParallel
Source§impl Hash for FunctionParallel
impl Hash for FunctionParallel
Source§impl Ord for FunctionParallel
impl Ord for FunctionParallel
Source§fn cmp(&self, other: &FunctionParallel) -> Ordering
fn cmp(&self, other: &FunctionParallel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
where Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FunctionParallel
impl PartialEq for FunctionParallel
Source§impl PartialOrd for FunctionParallel
impl PartialOrd for FunctionParallel
Source§fn partial_cmp(&self, other: &FunctionParallel) -> Option<Ordering>
fn partial_cmp(&self, other: &FunctionParallel) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§fn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
Tests less than or equal to (for self and other) and is used by the
<= operator. Read more
Source§impl Serialize for FunctionParallel
impl Serialize for FunctionParallel
Source§impl Visit for FunctionParallel
impl Visit for FunctionParallel
Source§impl VisitMut for FunctionParallel
impl VisitMut for FunctionParallel
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided VisitorMut. Read more
impl Eq for FunctionParallel
impl StructuralPartialEq for FunctionParallel
Auto Trait Implementations§
impl Freeze for FunctionParallel
impl RefUnwindSafe for FunctionParallel
impl Send for FunctionParallel
impl Sync for FunctionParallel
impl Unpin for FunctionParallel
impl UnwindSafe for FunctionParallel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
where 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,
where T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
where T: for<'de> Deserialize<'de>,