pub enum SessionPartitionSpec {
Random {
num_partitions: usize,
seed: u64,
},
RoundRobin {
num_partitions: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for SessionPartitionSpec
impl Clone for SessionPartitionSpec
Source§fn clone(&self) -> SessionPartitionSpec
fn clone(&self) -> SessionPartitionSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SessionPartitionSpec
Auto Trait Implementations§
impl Freeze for SessionPartitionSpec
impl RefUnwindSafe for SessionPartitionSpec
impl Send for SessionPartitionSpec
impl Sync for SessionPartitionSpec
impl Unpin for SessionPartitionSpec
impl UnsafeUnpin for SessionPartitionSpec
impl UnwindSafe for SessionPartitionSpec
Blanket Implementations§
impl<T> BlockMetadata for T
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