pub enum SubscriptionPartitionAssignmentType {
Direct,
Auto,
}Expand description
See also Nakadi Manual
Variants§
Direct
Partition can’t be transferred to another stream until the stream is closed
Auto
Partition can be transferred to another stream in case of rebalance, or if another stream requests to read from this partition
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SubscriptionPartitionAssignmentType
impl<'de> Deserialize<'de> for SubscriptionPartitionAssignmentType
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
Auto Trait Implementations§
impl Freeze for SubscriptionPartitionAssignmentType
impl RefUnwindSafe for SubscriptionPartitionAssignmentType
impl Send for SubscriptionPartitionAssignmentType
impl Sync for SubscriptionPartitionAssignmentType
impl Unpin for SubscriptionPartitionAssignmentType
impl UnsafeUnpin for SubscriptionPartitionAssignmentType
impl UnwindSafe for SubscriptionPartitionAssignmentType
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