pub struct Http2Backend {
pub name: String,
pub listener_addr: String,
pub tls_config: Option<Arc<ServerConfig>>,
pub running: Arc<AtomicBool>,
pub fast_routes: Option<FastRoutes>,
}Expand description
HTTP2 backend holding routing to repository backends
Fields§
§name: String§listener_addr: String§tls_config: Option<Arc<ServerConfig>>§running: Arc<AtomicBool>§fast_routes: Option<FastRoutes>Implementations§
Source§impl Http2Backend
impl Http2Backend
pub fn new( name: String, listener_addr: String, tls_config: Arc<ServerConfig>, ) -> Self
pub fn parse_ip_port(url: &str) -> (String, u16)
pub fn backend_from_config(ep: &ExposedEndpoint) -> Result<Self>
Trait Implementations§
Source§impl Clone for Http2Backend
impl Clone for Http2Backend
Source§fn clone(&self) -> Http2Backend
fn clone(&self) -> Http2Backend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !RefUnwindSafe for Http2Backend
impl !UnwindSafe for Http2Backend
impl Freeze for Http2Backend
impl Send for Http2Backend
impl Sync for Http2Backend
impl Unpin for Http2Backend
impl UnsafeUnpin for Http2Backend
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