/// Creates a new MessageDialog using the given path to, or name of, a `pinentry`
/// binary.
///
/// Returns `None` if:
/// - A path was provided that does not exist.
/// - A binary name was provided that cannot be found in `PATH`.
/// - The binary is found but is not executable.
Creates a new MessageDialog using the given path to, or name of, a `pinentry`
binary.

Returns `None` if:
A path was provided that does not exist.
A binary name was provided that cannot be found in `PATH`.
The binary is found but is not executable.
Creates a new MessageDialog using the given path to or name of a ` pinentry ` binary . Returns ` None ` if : A path was provided that does not exist . A binary name was provided that cannot be found in ` PATH ` . The binary is found but is not executable .
pub fn with_binary<T: AsRef<OsStr>>(binary_name: T) -> Option<Self> {
        which::which(binary_name).ok().map(|binary| MessageDialog {
            binary,
            title: None,
            ok: None,
            timeout: None,
        })
    }
pub fn with_binary < T : AsRef < OsStr > > ( binary_name : T ) -> Option < Self > { which :: which ( binary_name ) . ok ( ) . map ( | binary | MessageDialog { binary , title : None , ok : None , timeout : None , } ) }
Creates a new MessageDialog using the given path to, or name of, a `pinentry`
binary.
Creates a new MessageDialog using the given path to or name of a ` pinentry ` binary .
binary_name
T