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 Freeze for RelayServer
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