Struct s2n_netbench::scenario::Scenario
source · pub struct Scenario {
pub id: Id,
pub clients: Vec<Arc<Client>>,
pub servers: Vec<Arc<Server>>,
pub routers: Vec<Arc<Router>>,
pub traces: Arc<Vec<String>>,
pub certificates: Vec<Arc<Certificate>>,
}Fields§
§id: Id§clients: Vec<Arc<Client>>§servers: Vec<Arc<Server>>§routers: Vec<Arc<Router>>§traces: Arc<Vec<String>>§certificates: Vec<Arc<Certificate>>Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Scenario
impl<'de> Deserialize<'de> for Scenario
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 Scenario
impl Send for Scenario
impl Sync for Scenario
impl Unpin for Scenario
impl UnwindSafe for Scenario
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