pub enum PartitionState {
Unassigned,
Reassigned,
Assigned,
}Expand description
Assignment state of a partition within a context of subscription
See also Nakadi Manual
Variants§
Unassigned
The partition is currently not assigned to any client
Reassigned
The partition is currently reassigning from one client to another
Assigned
The partition is assigned to a client.
Trait Implementations§
Source§impl Clone for PartitionState
impl Clone for PartitionState
impl Copy for PartitionState
Source§impl Debug for PartitionState
impl Debug for PartitionState
Source§impl<'de> Deserialize<'de> for PartitionState
impl<'de> Deserialize<'de> for PartitionState
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 PartitionState
Source§impl PartialEq for PartitionState
impl PartialEq for PartitionState
Source§impl Serialize for PartitionState
impl Serialize for PartitionState
impl StructuralPartialEq for PartitionState
Auto Trait Implementations§
impl Freeze for PartitionState
impl RefUnwindSafe for PartitionState
impl Send for PartitionState
impl Sync for PartitionState
impl Unpin for PartitionState
impl UnsafeUnpin for PartitionState
impl UnwindSafe for PartitionState
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