pub struct RelayConfig {
pub server_keypair: KeyPair,
pub blob_config: BlobConfig,
}Fields§
§server_keypair: KeyPair§blob_config: BlobConfigImplementations§
Source§impl RelayConfig
impl RelayConfig
Sourcepub fn new_with_new_ed25519_tls_key() -> Self
pub fn new_with_new_ed25519_tls_key() -> Self
Create a new RelayConfig with Ed25519 keypair for transport security
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RelayConfig
impl RefUnwindSafe for RelayConfig
impl Send for RelayConfig
impl Sync for RelayConfig
impl Unpin for RelayConfig
impl UnwindSafe for RelayConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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