Struct avalanche_types::subnet::rpc::snow::engine::common::http_handler::HttpHandler
source · pub struct HttpHandler {
pub lock_option: LockOptions,
pub handler: Option<IoHandler>,
pub server_addr: Option<String>,
}
Expand description
Fields§
§lock_option: LockOptions
§handler: Option<IoHandler>
§server_addr: Option<String>
Implementations§
source§impl HttpHandler
impl HttpHandler
pub fn new_from_u8( lock_option: u8, handler: IoHandler ) -> Result<HttpHandler, &'static str>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for HttpHandler
impl Send for HttpHandler
impl Sync for HttpHandler
impl Unpin for HttpHandler
impl !UnwindSafe for HttpHandler
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request