pub fn partition(&self, partition_key: impl AsRef<str>) -> Option<Arc<RwLock<Partition>>> {
        let partition_key = partition_key.as_ref();
        let partitions = self.partitions.read();
        partitions.get(partition_key).cloned()
    }
/// Get a specific partition by name, returning `None` if there is no such
/// partition
Get a specific partition by name, returning `None` if there is no such
partition
Get a specific partition by name returning ` None ` if there is no such partition
pub fn partition(&self, partition_key: impl AsRef<str>) -> Option<Arc<RwLock<Partition>>> {
        let partition_key = partition_key.as_ref();
        let partitions = self.partitions.read();
        partitions.get(partition_key).cloned()
    }
pub fn partition ( & self , partition_key : impl AsRef < str > ) -> Option < Arc < RwLock < Partition > > > { let partition_key = partition_key . as_ref ( ) ; let partitions = self . partitions . read ( ) ; partitions . get ( partition_key ) . cloned ( ) }
Get a specific partition by name, returning `None` if there is no such
partition
Get a specific partition by name returning ` None ` if there is no such partition
&self
partition_key
impl AsRef<str>
&self
partition_key
impl AsRef<str>