Struct async_zmq_types::SubConfig
source · pub struct SubConfig<'a> {
pub ctx: Arc<Context>,
pub bind: Vec<&'a str>,
pub connect: Vec<&'a str>,
pub filter: &'a [u8],
pub identity: Option<&'a [u8]>,
}
Expand description
The final builder step for the Sub socket type.
This contains all the information required to contstruct a valid SUB socket
Fields
ctx: Arc<Context>
bind: Vec<&'a str>
connect: Vec<&'a str>
filter: &'a [u8]
identity: Option<&'a [u8]>
Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for SubConfig<'a>
impl<'a> Send for SubConfig<'a>
impl<'a> Sync for SubConfig<'a>
impl<'a> Unpin for SubConfig<'a>
impl<'a> UnwindSafe for SubConfig<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more