Struct mpc_relay_server::RelayServer
source · pub struct RelayServer { /* private fields */ }Expand description
Relay web server.
Implementations§
source§impl RelayServer
impl RelayServer
sourcepub fn new(config: ServerConfig, keypair: Keypair) -> Self
pub fn new(config: ServerConfig, keypair: Keypair) -> Self
Create a new relay server.
Auto Trait Implementations§
impl !RefUnwindSafe for RelayServer
impl Send for RelayServer
impl Sync for RelayServer
impl Unpin for RelayServer
impl !UnwindSafe for RelayServer
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