use crate::{EthtoolCoalesceGetRequest, EthtoolHandle};
pub struct EthtoolCoalesceHandle(EthtoolHandle);
impl EthtoolCoalesceHandle {
pub fn new(handle: EthtoolHandle) -> Self {
EthtoolCoalesceHandle(handle)
}
pub fn get(
&mut self,
iface_name: Option<&str>,
) -> EthtoolCoalesceGetRequest {
EthtoolCoalesceGetRequest::new(self.0.clone(), iface_name)
}
}