Struct tower_livereload::Reloader
source · pub struct Reloader { /* private fields */ }
Expand description
Utility to send reload requests to clients.
Implementations§
source§impl Reloader
impl Reloader
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new Reloader
.
This can be manually passed to the LiveReload
constructor, but in
most cases the LiveReloadLayer
and LiveReloadLayer::reloader
utilities are preferred.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reloader
impl !RefUnwindSafe for Reloader
impl Send for Reloader
impl Sync for Reloader
impl Unpin for Reloader
impl !UnwindSafe for Reloader
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