pub fn new_unix_endpoint(name: &str) -> PubSubEndpoint {
        PubSubEndpoint {
            name: String::from(name),
            config: PubSubKind::Unix,
        }
    }
/// Create a PubSub endpoint config with a name for generating a Unix socket path.
Create a PubSub endpoint config with a name for generating a Unix socket path.
Create a PubSub endpoint config with a name for generating a Unix socket path .
pub fn new_unix_endpoint(name: &str) -> PubSubEndpoint {
        PubSubEndpoint {
            name: String::from(name),
            config: PubSubKind::Unix,
        }
    }
pub fn new_unix_endpoint ( name : & str ) -> PubSubEndpoint { PubSubEndpoint { name : String :: from ( name ) , config : PubSubKind :: Unix , } }
Create a PubSub endpoint config with a name for generating a Unix socket path.
Create a PubSub endpoint config with a name for generating a Unix socket path .
name
&str
name
&str