pub struct Nanny {}
Implementations§
Source§impl Nanny
impl Nanny
Sourcepub fn run_global_up_script() -> Result<Child>
pub fn run_global_up_script() -> Result<Child>
Runs the ‘up’ script in the config directory, if there is one.
§Errors
Will error if unable to open current config directory. Could be caused by inadequate permissions.
Sourcepub fn boot_current_theme() -> Result<Child>
pub fn boot_current_theme() -> Result<Child>
Runs the ‘up’ script of the current theme, if there is one.
§Errors
Will error if unable to open current theme directory. Could be caused by inadequate permissions.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Nanny
impl RefUnwindSafe for Nanny
impl Send for Nanny
impl Sync for Nanny
impl Unpin for Nanny
impl UnwindSafe for Nanny
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