pub struct RelayService { /* private fields */ }Implementations§
Source§impl RelayService
impl RelayService
pub async fn new( config: RelayServiceConfig, get_status: Option<GetStatusClosure>, ) -> Self
pub async fn start(&self)
pub async fn stop(&self)
Auto Trait Implementations§
impl !RefUnwindSafe for RelayService
impl !UnwindSafe for RelayService
impl Freeze for RelayService
impl Send for RelayService
impl Sync for RelayService
impl Unpin for RelayService
impl UnsafeUnpin for RelayService
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