Struct s2n_netbench::scenario::Server
source · pub struct Server {
pub name: String,
pub connections: Vec<Arc<Connection>>,
pub configuration: BTreeMap<String, String>,
pub private_key: u64,
pub certificate: u64,
pub certificate_authority: u64,
}Fields§
§name: String§connections: Vec<Arc<Connection>>§configuration: BTreeMap<String, String>§private_key: u64§certificate: u64Implementations§
source§impl Server
impl Server
pub fn on_server_name(&self, server_name: &str) -> Result<&Arc<Connection>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Server
impl<'de> Deserialize<'de> for Server
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnwindSafe for Server
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