pub struct MariaDb { /* private fields */ }Implementations§
Source§impl MariaDb
impl MariaDb
pub fn binary(&self) -> Path<FromPackage>
pub fn default_service(&mut self) -> &mut MySqlService
pub fn mysql_user(&self) -> User
pub fn mysql_group(&self) -> Group
Trait Implementations§
Source§impl AptPackage for MariaDb
impl AptPackage for MariaDb
const NAME: &'static str = "mariadb-server"
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 MariaDb
impl RefUnwindSafe for MariaDb
impl Send for MariaDb
impl Sync for MariaDb
impl Unpin for MariaDb
impl UnwindSafe for MariaDb
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