pub struct BtConsole { /* private fields */ }Implementations§
source§impl BtConsole
 
impl BtConsole
pub async fn start(config: BtConsoleConfig) -> Result<Self>
pub fn signal_shutdown(&mut self) -> Result<()>
pub fn take_shutdown_signal(&mut self) -> Option<Sender<()>>
pub async fn has_shutdown(self) -> Result<()>
Auto Trait Implementations§
impl !RefUnwindSafe for BtConsole
impl Send for BtConsole
impl Sync for BtConsole
impl Unpin for BtConsole
impl !UnwindSafe for BtConsole
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
§impl<T> Free for T
 
impl<T> Free for T
source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoPropValue<Option<T>> for T
 
impl<T> IntoPropValue<Option<T>> for T
§fn into_prop_value(self) -> Option<T>
 
fn into_prop_value(self) -> Option<T>
Convert 
self to a value of a Properties struct.§impl<T> IntoPropValue<T> for T
 
impl<T> IntoPropValue<T> for T
§fn into_prop_value(self) -> T
 
fn into_prop_value(self) -> T
Convert 
self to a value of a Properties struct.