[−][src]Struct runng::protocol::push0::Push0
Push half of push/pull ("pipeline") pattern. See nng_push.
Methods
impl Push0
[src]
pub fn open() -> NngResult<Self>
[src]
Create a push socket. See nng_push_open.
Trait Implementations
impl AsyncSocket for Push0
[src]
type ContextType = PushAsyncHandle
The type of aynchronous context produced
fn create_async(&self) -> NngResult<Self::ContextType>
[src]
impl Socket for Push0
[src]
fn socket(&self) -> &NngSocket
[src]
fn socket_mut(&mut self) -> &mut NngSocket
[src]
unsafe fn nng_socket(&self) -> nng_socket
[src]
impl Listen for Push0
[src]
fn listen(self, url: &str) -> NngResult<Self>
[src]
fn listener_create(&self, url: &str) -> NngResult<NngListener>
[src]
impl Dial for Push0
[src]
fn dial(self, url: &str) -> NngResult<Self>
[src]
fn dialer_create(&self, url: &str) -> NngResult<NngDialer>
[src]
impl SendMsg for Push0
[src]
Auto Trait Implementations
impl Send for Push0
impl Sync for Push0
impl Unpin for Push0
impl UnwindSafe for Push0
impl RefUnwindSafe for Push0
Blanket Implementations
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,