pub fn with_unix_datagram<T>(name: &str, path: &Path, callback: Callback<T>) -> Subscriber
    where
        T: Debug + DeserializeOwned + Serialize + 'static,
    {
        Subscriber::new(
            name,
            SubscriberPort::UnixDatagram(PathBuf::from(path)),
            callback,
        )
    }
/// Create a subscriber that listens on a Unix Datagram socket.
///
/// Args:
/// * `name` The name to refer to the subscriber.
/// * `path`: The unix socket path to bind the server to.
/// * `callback`: The function to call on incoming data.
Create a subscriber that listens on a Unix Datagram socket.
Args:
`name` The name to refer to the subscriber.
`path`: The unix socket path to bind the server to.
`callback`: The function to call on incoming data.
Create a subscriber that listens on a Unix Datagram socket . Args : ` name ` The name to refer to the subscriber . ` path ` : The unix socket path to bind the server to . ` callback ` : The function to call on incoming data .
pub fn with_unix_datagram<T>(name: &str, path: &Path, callback: Callback<T>) -> Subscriber
    where
        T: Debug + DeserializeOwned + Serialize + 'static,
    {
        Subscriber::new(
            name,
            SubscriberPort::UnixDatagram(PathBuf::from(path)),
            callback,
        )
    }
pub fn with_unix_datagram < T > ( name : & str , path : & Path , callback : Callback < T > ) -> Subscriber where T : Debug + DeserializeOwned + Serialize + ' static , { Subscriber :: new ( name , SubscriberPort :: UnixDatagram ( PathBuf :: from ( path ) ) , callback , ) }
Create a subscriber that listens on a Unix Datagram socket.
Create a subscriber that listens on a Unix Datagram socket .
name
&str
path
&Path
callback
Callback<T>
name
&str
path
&Path
callback
Callback<T>