Struct sozu_lib::testing::ServerParts  
source · pub struct ServerParts {
    pub event_loop: Poll,
    pub registry: Registry,
    pub sessions: Rc<RefCell<SessionManager>>,
    pub pool: Rc<RefCell<Pool>>,
    pub backends: Rc<RefCell<BackendMap>>,
    pub client_scm_socket: ScmSocket,
    pub server_scm_socket: ScmSocket,
    pub server_config: ServerConfig,
}Expand description
Everything needed to create a Server
Fields§
§event_loop: Poll§registry: Registry§sessions: Rc<RefCell<SessionManager>>§pool: Rc<RefCell<Pool>>§backends: Rc<RefCell<BackendMap>>§client_scm_socket: ScmSocket§server_scm_socket: ScmSocket§server_config: ServerConfigAuto Trait Implementations§
impl Freeze for ServerParts
impl !RefUnwindSafe for ServerParts
impl !Send for ServerParts
impl !Sync for ServerParts
impl Unpin for ServerParts
impl !UnwindSafe for ServerParts
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
source§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