#[non_exhaustive]pub enum OpType {
Set,
Delete,
Append,
Subtract,
}Expand description
The operation type of an AlterConfigOp.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Set
Set the value of the configuration entry.
Delete
Revert the configuration entry to the default value (possibly null).
Append
(For list-type configuration entries only.) Add the specified values to the current value of the configuration entry. If the configuration value has not been set, adds to the default value.
Subtract
(For list-type configuration entries only.) Removes the specified values from the current value of the configuration entry. It is legal to remove values that are not currently in the configuration entry. Removing all entries from the current configuration value leaves an empty list and does NOT revert to the default value of the entry.
Implementations§
Trait Implementations§
Source§impl Display for OpType
Renders the Java constant name (SET, DELETE, …), as Java’s
Enum.toString() does.
impl Display for OpType
Renders the Java constant name (SET, DELETE, …), as Java’s
Enum.toString() does.
Source§impl Ord for OpType
impl Ord for OpType
Source§impl PartialOrd for OpType
impl PartialOrd for OpType
impl Copy for OpType
impl Eq for OpType
impl StructuralPartialEq for OpType
Auto Trait Implementations§
impl Freeze for OpType
impl RefUnwindSafe for OpType
impl Send for OpType
impl Sync for OpType
impl Unpin for OpType
impl UnsafeUnpin for OpType
impl UnwindSafe for OpType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.