Struct mpc_relay_client::ClientOptions
source · pub struct ClientOptions {
pub keypair: Keypair,
pub server_public_key: Vec<u8, Global>,
}
Expand description
Options used to create a new websocket client.
Fields§
§keypair: Keypair
Client static keypair.
server_public_key: Vec<u8, Global>
Public key for the server to connect to.
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ClientOptions
impl Send for ClientOptions
impl Sync for ClientOptions
impl Unpin for ClientOptions
impl UnwindSafe for ClientOptions
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