[−][src]Struct libzmq::ClientBuilder
A builder for a Client
.
Allows for ergonomic one line socket configuration.
Methods
impl ClientBuilder
[src]
pub fn new() -> Self
[src]
pub fn build(&self) -> Result<Client, Error<usize>>
[src]
pub fn with_ctx<C>(&self, ctx: C) -> Result<Client, Error<usize>> where
C: Into<Ctx>,
[src]
C: Into<Ctx>,
Trait Implementations
impl BuildHeartbeating for ClientBuilder
[src]
impl BuildRecv for ClientBuilder
[src]
fn recv_high_water_mark(&mut self, hwm: i32) -> &mut Self
[src]
fn recv_batch_size(&mut self, size: i32) -> &mut Self
[src]
fn recv_timeout(&mut self, timeout: Duration) -> &mut Self
[src]
impl BuildSend for ClientBuilder
[src]
fn send_high_water_mark(&mut self, hwm: i32) -> &mut Self
[src]
fn send_batch_size(&mut self, size: i32) -> &mut Self
[src]
fn send_timeout(&mut self, timeout: Duration) -> &mut Self
[src]
impl BuildSocket for ClientBuilder
[src]
fn connect<I, E>(&mut self, endpoints: I) -> &mut Self where
I: IntoIterator<Item = E>,
E: Into<Endpoint>,
[src]
I: IntoIterator<Item = E>,
E: Into<Endpoint>,
fn bind<I, E>(&mut self, endpoints: I) -> &mut Self where
I: IntoIterator<Item = E>,
E: Into<Endpoint>,
[src]
I: IntoIterator<Item = E>,
E: Into<Endpoint>,
fn mechanism<M>(&mut self, mechanism: M) -> &mut Self where
M: Into<Mechanism>,
[src]
M: Into<Mechanism>,
impl PartialEq<ClientBuilder> for ClientBuilder
[src]
fn eq(&self, other: &ClientBuilder) -> bool
[src]
fn ne(&self, other: &ClientBuilder) -> bool
[src]
impl Eq for ClientBuilder
[src]
impl Default for ClientBuilder
[src]
fn default() -> ClientBuilder
[src]
impl Clone for ClientBuilder
[src]
fn clone(&self) -> ClientBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Hash for ClientBuilder
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for ClientBuilder
[src]
impl Serialize for ClientBuilder
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for ClientBuilder
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for ClientBuilder
impl Unpin for ClientBuilder
impl Sync for ClientBuilder
impl UnwindSafe for ClientBuilder
impl RefUnwindSafe for ClientBuilder
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,