[][src]Struct runng::factory::latest::ProtocolFactory

pub struct ProtocolFactory {}

The latest version of all protocols

Examples

use runng::{
    factory::latest::ProtocolFactory,
};
let factory = ProtocolFactory::default();
let publisher = factory.publisher_open();

Methods

impl ProtocolFactory[src]

pub fn bus_open(&self) -> Result<Bus0>[src]

pub fn requester_open(&self) -> Result<Req0>[src]

pub fn replier_open(&self) -> Result<Rep0>[src]

pub fn publisher_open(&self) -> Result<Pub0>[src]

pub fn subscriber_open(&self) -> Result<Sub0>[src]

pub fn pusher_open(&self) -> Result<Push0>[src]

pub fn puller_open(&self) -> Result<Pull0>[src]

pub fn pair_open(&self) -> Result<Pair1>[src]

Trait Implementations

impl Debug for ProtocolFactory[src]

impl Default for ProtocolFactory[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.