[−][src]Struct libzmq::ScatterBuilder
A builder for a Scatter
.
Allows for ergonomic one line socket configuration.
Methods
impl ScatterBuilder
[src]
pub fn new() -> Self
[src]
pub fn build(&self) -> Result<Scatter, Error<usize>>
[src]
pub fn with_ctx<C>(&self, ctx: C) -> Result<Scatter, Error<usize>> where
C: Into<Ctx>,
[src]
C: Into<Ctx>,
Trait Implementations
impl BuildSend for ScatterBuilder
[src]
fn send_high_water_mark(&mut self, hwm: i32) -> &mut Self
[src]
fn send_timeout(&mut self, timeout: Duration) -> &mut Self
[src]
impl BuildSocket for ScatterBuilder
[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 linger(&mut self, period: Period) -> &mut Self
[src]
fn mechanism<M>(&mut self, mechanism: M) -> &mut Self where
M: Into<Mechanism>,
[src]
M: Into<Mechanism>,
fn heartbeat<H>(&mut self, heartbeat: H) -> &mut Self where
H: Into<Heartbeat>,
[src]
H: Into<Heartbeat>,
impl Eq for ScatterBuilder
[src]
impl PartialEq<ScatterBuilder> for ScatterBuilder
[src]
fn eq(&self, other: &ScatterBuilder) -> bool
[src]
fn ne(&self, other: &ScatterBuilder) -> bool
[src]
impl Clone for ScatterBuilder
[src]
fn clone(&self) -> ScatterBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for ScatterBuilder
[src]
fn default() -> ScatterBuilder
[src]
impl Debug for ScatterBuilder
[src]
impl Hash for ScatterBuilder
[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 Serialize for ScatterBuilder
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for ScatterBuilder
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for ScatterBuilder
impl Sync for ScatterBuilder
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,