Struct taple_core::message::MessageConfig
source · pub struct MessageConfig {
pub timeout: u32,
pub replication_factor: f64,
}
Fields§
§timeout: u32
§replication_factor: f64
Implementations§
source§impl MessageConfig
impl MessageConfig
pub fn timeout(&self) -> u32
pub fn replication_factor(&self) -> f64
pub fn direct_response() -> Self
Trait Implementations§
source§impl Clone for MessageConfig
impl Clone for MessageConfig
source§fn clone(&self) -> MessageConfig
fn clone(&self) -> MessageConfig
Returns a copy 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 MessageConfig
impl Debug for MessageConfig
source§impl PartialEq<MessageConfig> for MessageConfig
impl PartialEq<MessageConfig> for MessageConfig
source§fn eq(&self, other: &MessageConfig) -> bool
fn eq(&self, other: &MessageConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MessageConfig
Auto Trait Implementations§
impl RefUnwindSafe for MessageConfig
impl Send for MessageConfig
impl Sync for MessageConfig
impl Unpin for MessageConfig
impl UnwindSafe for MessageConfig
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