pub struct ControllerPlaneCfg<UserData, SC, SE, TC, TW> {
pub session: u64,
pub bind_addrs: Vec<SocketAddr>,
pub services: Vec<Arc<dyn ServiceBuilder<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW>>>,
pub authorization: Arc<dyn Authorization>,
pub handshake_builder: Arc<dyn HandshakeBuilder>,
pub random: Box<dyn RngCore + Send + Sync>,
pub history: Arc<dyn ShadowRouterHistory>,
}Fields§
§session: u64§bind_addrs: Vec<SocketAddr>§services: Vec<Arc<dyn ServiceBuilder<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW>>>§handshake_builder: Arc<dyn HandshakeBuilder>§random: Box<dyn RngCore + Send + Sync>§history: Arc<dyn ShadowRouterHistory>Auto Trait Implementations§
impl<UserData, SC, SE, TC, TW> Freeze for ControllerPlaneCfg<UserData, SC, SE, TC, TW>
impl<UserData, SC, SE, TC, TW> !RefUnwindSafe for ControllerPlaneCfg<UserData, SC, SE, TC, TW>
impl<UserData, SC, SE, TC, TW> Send for ControllerPlaneCfg<UserData, SC, SE, TC, TW>
impl<UserData, SC, SE, TC, TW> Sync for ControllerPlaneCfg<UserData, SC, SE, TC, TW>
impl<UserData, SC, SE, TC, TW> Unpin for ControllerPlaneCfg<UserData, SC, SE, TC, TW>
impl<UserData, SC, SE, TC, TW> !UnwindSafe for ControllerPlaneCfg<UserData, SC, SE, TC, TW>
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