pub struct TopicStorageConfig {
pub segment_size: Option<u32>,
pub max_partition_size: Option<u64>,
}Fields§
§segment_size: Option<u32>§max_partition_size: Option<u64>Trait Implementations§
Source§impl Clone for TopicStorageConfig
impl Clone for TopicStorageConfig
Source§fn clone(&self) -> TopicStorageConfig
fn clone(&self) -> TopicStorageConfig
Returns a duplicate 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 TopicStorageConfig
impl Debug for TopicStorageConfig
Source§impl Decoder for TopicStorageConfig
impl Decoder for TopicStorageConfig
Source§impl Default for TopicStorageConfig
impl Default for TopicStorageConfig
Source§fn default() -> TopicStorageConfig
fn default() -> TopicStorageConfig
Returns the “default value” for a type. Read more
Source§impl Encoder for TopicStorageConfig
impl Encoder for TopicStorageConfig
Source§impl PartialEq for TopicStorageConfig
impl PartialEq for TopicStorageConfig
impl Eq for TopicStorageConfig
impl StructuralPartialEq for TopicStorageConfig
Auto Trait Implementations§
impl Freeze for TopicStorageConfig
impl RefUnwindSafe for TopicStorageConfig
impl Send for TopicStorageConfig
impl Sync for TopicStorageConfig
impl Unpin for TopicStorageConfig
impl UnwindSafe for TopicStorageConfig
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.