pub struct Nginx { /* private fields */ }Implementations§
Source§impl Nginx
impl Nginx
pub fn binary(&self) -> Path<FromPackage>
pub fn default_service(&mut self) -> &mut SystemdService
pub fn www_data_user(&self) -> User
pub fn www_data_group(&self) -> Group
Trait Implementations§
Source§impl AptPackage for Nginx
impl AptPackage for Nginx
const NAME: &'static str = "nginx"
fn create(node: GraphNodeReference) -> Self
fn graph_node(&self) -> GraphNodeReference
fn install<R: Requirement + Supports<AptInstall> + Supports<AptUpdate>>(
context: &mut Context<'_, R>,
) -> Selfwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for Nginx
impl RefUnwindSafe for Nginx
impl Send for Nginx
impl Sync for Nginx
impl Unpin for Nginx
impl UnwindSafe for Nginx
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more