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