pub struct BuiService<CB> { /* private fields */ }
Expand description
Handle HTTP requests and coordinate responses to data updates.
Implements hyper::server::Service
to act as HTTP server and handle requests.
Implementations§
Source§impl<CB> BuiService<CB>
impl<CB> BuiService<CB>
Sourcepub fn events_prefix(&self) -> &str
pub fn events_prefix(&self) -> &str
Get the event stream path prefix.
Trait Implementations§
Source§impl<CB: Clone> Clone for BuiService<CB>
impl<CB: Clone> Clone for BuiService<CB>
Source§fn clone(&self) -> BuiService<CB>
fn clone(&self) -> BuiService<CB>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<CB> Freeze for BuiService<CB>
impl<CB> !RefUnwindSafe for BuiService<CB>
impl<CB> Send for BuiService<CB>
impl<CB> !Sync for BuiService<CB>
impl<CB> Unpin for BuiService<CB>
impl<CB> !UnwindSafe for BuiService<CB>
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