pub struct StartKafkaDirectRequest { /* private fields */ }Implementations§
source§impl StartKafkaDirectRequest
impl StartKafkaDirectRequest
pub fn new( bind_address: SocketAddr, bootstrap_server_addr: SocketAddr, brokers_port_range: impl Into<(u16, u16)>, consumer_route: Option<MultiAddr> ) -> Self
pub fn bind_address(&self) -> SocketAddr
pub fn bootstrap_server_addr(&self) -> &SocketAddr
pub fn brokers_port_range(&self) -> (u16, u16)
pub fn consumer_route(&self) -> Option<String>
Trait Implementations§
source§impl Clone for StartKafkaDirectRequest
impl Clone for StartKafkaDirectRequest
source§fn clone(&self) -> StartKafkaDirectRequest
fn clone(&self) -> StartKafkaDirectRequest
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 StartKafkaDirectRequest
impl Debug for StartKafkaDirectRequest
source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for StartKafkaDirectRequest
impl<'bytes, Ctx> Decode<'bytes, Ctx> for StartKafkaDirectRequest
source§impl<Ctx> Encode<Ctx> for StartKafkaDirectRequest
impl<Ctx> Encode<Ctx> for StartKafkaDirectRequest
Auto Trait Implementations§
impl RefUnwindSafe for StartKafkaDirectRequest
impl Send for StartKafkaDirectRequest
impl Sync for StartKafkaDirectRequest
impl Unpin for StartKafkaDirectRequest
impl UnwindSafe for StartKafkaDirectRequest
Blanket Implementations§
source§impl<D> AsyncTryClone for Dwhere
D: Clone + Sync,
impl<D> AsyncTryClone for Dwhere D: Clone + Sync,
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