fuchsia_bluetooth/expectation/
host_driver.rsuse super::Predicate;
use crate::over;
use crate::types::HostInfo;
pub fn name(expected_name: &str) -> Predicate<HostInfo> {
let name = Some(expected_name.to_string());
over!(HostInfo: local_name, Predicate::equal(name))
}
pub fn discovering(discovering: bool) -> Predicate<HostInfo> {
over!(HostInfo: discovering, Predicate::equal(discovering))
}
pub fn discoverable(discoverable: bool) -> Predicate<HostInfo> {
over!(HostInfo: discoverable, Predicate::equal(discoverable))
}