Struct webdriver::server::Dispatcher
source · struct Dispatcher<T: WebDriverHandler<U>, U: WebDriverExtensionRoute> {
handler: T,
session: Option<Session>,
extension_type: PhantomData<U>,
}
Fields§
§handler: T
§session: Option<Session>
§extension_type: PhantomData<U>
Implementations§
source§impl<T: WebDriverHandler<U>, U: WebDriverExtensionRoute> Dispatcher<T, U>
impl<T: WebDriverHandler<U>, U: WebDriverExtensionRoute> Dispatcher<T, U>
fn new(handler: T) -> Dispatcher<T, U>
fn run(&mut self, msg_chan: &Receiver<DispatchMessage<U>>)
fn teardown_session(&mut self, kind: SessionTeardownKind)
fn check_session(&self, msg: &WebDriverMessage<U>) -> WebDriverResult<()>
Trait Implementations§
source§impl<T: Debug + WebDriverHandler<U>, U: Debug + WebDriverExtensionRoute> Debug for Dispatcher<T, U>
impl<T: Debug + WebDriverHandler<U>, U: Debug + WebDriverExtensionRoute> Debug for Dispatcher<T, U>
Auto Trait Implementations§
impl<T, U> Freeze for Dispatcher<T, U>where
T: Freeze,
impl<T, U> RefUnwindSafe for Dispatcher<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Dispatcher<T, U>
impl<T, U> Sync for Dispatcher<T, U>
impl<T, U> Unpin for Dispatcher<T, U>
impl<T, U> UnwindSafe for Dispatcher<T, U>where
T: UnwindSafe,
U: UnwindSafe,
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