mirror of
https://github.com/kata-containers/cgroups-rs.git
synced 2026-08-05 02:13:23 +00:00
Hide most of the previously undocumented methods in a sealed trait
This commit is contained in:
committed by
Levente Kurusa
parent
7826b798bd
commit
c63dad411b
+2
-2
@@ -10,7 +10,7 @@ use error::*;
|
||||
use error::ErrorKind::*;
|
||||
|
||||
use {
|
||||
BlkIoResources, ControllIdentifier, Controller, Controllers, Resources, Subsystem,
|
||||
BlkIoResources, ControllIdentifier, ControllerInternal, Controllers, Resources, Subsystem,
|
||||
};
|
||||
|
||||
/// A controller that allows controlling the `blkio` subsystem of a Cgroup.
|
||||
@@ -255,7 +255,7 @@ pub struct BlkIo {
|
||||
pub weight_device: Vec<BlkIoData>,
|
||||
}
|
||||
|
||||
impl Controller for BlkIoController {
|
||||
impl ControllerInternal for BlkIoController {
|
||||
fn control_type(&self) -> Controllers {
|
||||
Controllers::BlkIo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user