pub struct BootstrapServer { /* private fields */ }Implementations§
Source§impl BootstrapServer
impl BootstrapServer
pub async fn start( port: u16, cancel: CancellationToken, config: BootstrapServerConfig, ) -> Result<Arc<Self>>
pub fn take_incoming_receiver( &self, ) -> Option<Receiver<IncomingBootstrapConnection>>
pub fn port(&self) -> u16
pub async fn wait_closed(&self)
Auto Trait Implementations§
impl !Freeze for BootstrapServer
impl !RefUnwindSafe for BootstrapServer
impl !UnwindSafe for BootstrapServer
impl Send for BootstrapServer
impl Sync for BootstrapServer
impl Unpin for BootstrapServer
impl UnsafeUnpin for BootstrapServer
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