Enum fluvio::metadata::partition::PartitionResolution
source · pub enum PartitionResolution {
Offline,
Online,
LeaderOffline,
ElectionLeaderFound,
}
Variants§
Trait Implementations§
source§impl Clone for PartitionResolution
impl Clone for PartitionResolution
source§fn clone(&self) -> PartitionResolution
fn clone(&self) -> PartitionResolution
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 PartitionResolution
impl Debug for PartitionResolution
source§impl Decoder for PartitionResolution
impl Decoder for PartitionResolution
source§impl Default for PartitionResolution
impl Default for PartitionResolution
source§fn default() -> PartitionResolution
fn default() -> PartitionResolution
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PartitionResolution
impl<'de> Deserialize<'de> for PartitionResolution
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<PartitionResolution, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<PartitionResolution, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Encoder for PartitionResolution
impl Encoder for PartitionResolution
source§impl PartialEq for PartitionResolution
impl PartialEq for PartitionResolution
source§fn eq(&self, other: &PartitionResolution) -> bool
fn eq(&self, other: &PartitionResolution) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PartitionResolution
impl Serialize for PartitionResolution
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PartitionResolution
impl StructuralPartialEq for PartitionResolution
Auto Trait Implementations§
impl Freeze for PartitionResolution
impl RefUnwindSafe for PartitionResolution
impl Send for PartitionResolution
impl Sync for PartitionResolution
impl Unpin for PartitionResolution
impl UnwindSafe for PartitionResolution
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.