Enum pgdo::cluster::config::MemoryUnit
source · pub enum MemoryUnit {
Bytes,
Kibibytes,
Mebibytes,
Gibibytes,
Tebibytes,
}Expand description
Memory units recognised in PostgreSQL parameter values. https://www.postgresql.org/docs/16/config-setting.html#CONFIG-SETTING-NAMES-VALUES
Variants§
Trait Implementations§
source§impl Clone for MemoryUnit
impl Clone for MemoryUnit
source§fn clone(&self) -> MemoryUnit
fn clone(&self) -> MemoryUnit
Returns a copy 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 moresource§impl Debug for MemoryUnit
impl Debug for MemoryUnit
source§impl Display for MemoryUnit
impl Display for MemoryUnit
source§impl FromStr for MemoryUnit
impl FromStr for MemoryUnit
source§impl PartialEq for MemoryUnit
impl PartialEq for MemoryUnit
source§fn eq(&self, other: &MemoryUnit) -> bool
fn eq(&self, other: &MemoryUnit) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for MemoryUnit
impl StructuralPartialEq for MemoryUnit
Auto Trait Implementations§
impl Freeze for MemoryUnit
impl RefUnwindSafe for MemoryUnit
impl Send for MemoryUnit
impl Sync for MemoryUnit
impl Unpin for MemoryUnit
impl UnwindSafe for MemoryUnit
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