pub struct SystemdManager { /* private fields */ }
Implementations§
Source§impl SystemdManager
impl SystemdManager
pub fn new(connection: Rc<RefCell<SystemdConnection>>) -> SystemdManager
pub fn list_units(&self) -> Result<Vec<SystemdUnit>, String>
Auto Trait Implementations§
impl Freeze for SystemdManager
impl !RefUnwindSafe for SystemdManager
impl !Send for SystemdManager
impl !Sync for SystemdManager
impl Unpin for SystemdManager
impl !UnwindSafe for SystemdManager
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