pub struct Group { /* private fields */ }Implementations§
Source§impl Group
impl Group
pub fn open(group: u64) -> Result<Self>
pub fn open_noiommu(group: u64) -> Result<Self>
pub fn find_group_for_device(device_sysfs_path: &Path) -> Result<u64>
pub async fn open_device( &self, device_id: &str, driver: &(impl ?Sized + Driver), ) -> Result<Device>
pub fn set_container(&self, container: &Container) -> Result<()>
pub fn status(&self) -> Result<GroupStatus>
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more