#[non_exhaustive]pub struct ReadPoolConfig {
pub node_count: i32,
/* private fields */
}Expand description
Configuration for a read pool instance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.node_count: i32Read capacity, i.e. number of nodes in a read pool instance.
Implementations§
Source§impl ReadPoolConfig
impl ReadPoolConfig
Trait Implementations§
Source§impl Clone for ReadPoolConfig
impl Clone for ReadPoolConfig
Source§fn clone(&self) -> ReadPoolConfig
fn clone(&self) -> ReadPoolConfig
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 ReadPoolConfig
impl Debug for ReadPoolConfig
Source§impl Default for ReadPoolConfig
impl Default for ReadPoolConfig
Source§fn default() -> ReadPoolConfig
fn default() -> ReadPoolConfig
Returns the “default value” for a type. Read more
Source§impl Message for ReadPoolConfig
impl Message for ReadPoolConfig
Source§impl PartialEq for ReadPoolConfig
impl PartialEq for ReadPoolConfig
impl StructuralPartialEq for ReadPoolConfig
Auto Trait Implementations§
impl Freeze for ReadPoolConfig
impl RefUnwindSafe for ReadPoolConfig
impl Send for ReadPoolConfig
impl Sync for ReadPoolConfig
impl Unpin for ReadPoolConfig
impl UnsafeUnpin for ReadPoolConfig
impl UnwindSafe for ReadPoolConfig
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