pub struct FireService { /* private fields */ }Implementations§
Source§impl FireService
impl FireService
Sourcepub fn new(pit: FirePit, address: SocketAddr) -> Self
pub fn new(pit: FirePit, address: SocketAddr) -> Self
Creates a new FireService which can be passed to a hyper server.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FireService
impl !UnwindSafe for FireService
impl Freeze for FireService
impl Send for FireService
impl Sync for FireService
impl Unpin for FireService
impl UnsafeUnpin for FireService
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