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