use tonic::transport::Channel;
use crate::DaemonError;
use super::builder::SenderBuilder;
pub trait QuerySender: Clone {
type Error: Into<DaemonError> + std::error::Error + std::fmt::Debug + Send + Sync + 'static;
type Options: SenderBuilder<Sender = Self>;
fn channel(&self) -> Channel;
}