pub struct Builder { /* private fields */ }Implementations§
Source§impl Builder
impl Builder
pub fn new( product_name: &'static str, product_version: &'static str, product_revision: &'static str, ) -> Self
pub fn enable_all(self) -> Self
pub fn enable_logging(self) -> Self
pub fn disable_logging(self) -> Self
pub fn enable_signals(self) -> Self
pub fn disable_signals(self) -> Self
pub fn enable_ping_command(self) -> Self
pub fn disable_ping_command(self) -> Self
pub fn enable_core_commands(self) -> Self
pub fn disable_core_commands(self) -> Self
pub fn enable_config(self) -> Self
pub fn disable_config(self) -> Self
pub fn enable_commands(self) -> Self
pub fn disable_commands(self) -> Self
pub fn enable_server(self) -> Self
pub fn disable_server(self) -> Self
pub fn build(self) -> Arc<Platform>
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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