[−][src]Struct libzmq::RadioBuilder
A builder for a Radio
.
Allows for ergonomic one line socket configuration.
Methods
impl RadioBuilder
[src]
pub fn new() -> Self
[src]
pub fn no_drop(&mut self) -> &mut Self
[src]
pub fn build(&self) -> Result<Radio, Error<usize>>
[src]
pub fn with_ctx<C>(&self, ctx: C) -> Result<Radio, Error<usize>> where
C: Into<Ctx>,
[src]
C: Into<Ctx>,
Trait Implementations
impl BuildSend for RadioBuilder
[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 RadioBuilder
[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>,
fn heartbeat<H>(&mut self, heartbeat: H) -> &mut Self where
H: Into<Heartbeat>,
[src]
H: Into<Heartbeat>,
impl Eq for RadioBuilder
[src]
impl PartialEq<RadioBuilder> for RadioBuilder
[src]
fn eq(&self, other: &RadioBuilder) -> bool
[src]
fn ne(&self, other: &RadioBuilder) -> bool
[src]
impl Clone for RadioBuilder
[src]
fn clone(&self) -> RadioBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for RadioBuilder
[src]
fn default() -> RadioBuilder
[src]
impl Debug for RadioBuilder
[src]
impl Hash for RadioBuilder
[src]
Auto Trait Implementations
impl Send for RadioBuilder
impl Sync for RadioBuilder
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,