pub struct PingoraServerRuntime { /* private fields */ }Expand description
Wraps the Pingora server lifecycle. Protocols register
services onto the runtime, then run() starts all services.
Implementations§
Source§impl PingoraServerRuntime
impl PingoraServerRuntime
Sourcepub fn server_mut(&mut self) -> &mut Server
pub fn server_mut(&mut self) -> &mut Server
Access the inner Pingora server for service registration.
Sourcepub fn run_with_args(self, args: RunArgs)
pub fn run_with_args(self, args: RunArgs)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PingoraServerRuntime
impl !UnwindSafe for PingoraServerRuntime
impl Freeze for PingoraServerRuntime
impl Send for PingoraServerRuntime
impl Sync for PingoraServerRuntime
impl Unpin for PingoraServerRuntime
impl UnsafeUnpin for PingoraServerRuntime
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