Struct sozu_lib::protocol::pipe::Pipe

source ·
pub struct Pipe<Front: SocketHandler, L: ListenerHandler> {
    pub frontend: Front,
    pub front_buf: Checkout,
    pub cluster_id: Option<String>,
    pub backend_id: Option<String>,
    pub request_id: Ulid,
    pub websocket_context: Option<String>,
    pub front_readiness: Readiness,
    pub back_readiness: Readiness,
    pub log_ctx: String,
    pub front_timeout: Option<TimeoutContainer>,
    pub back_timeout: Option<TimeoutContainer>,
    pub listener: Rc<RefCell<L>>,
    /* private fields */
}

Fields§

§frontend: Front§front_buf: Checkout§cluster_id: Option<String>§backend_id: Option<String>§request_id: Ulid§websocket_context: Option<String>§front_readiness: Readiness§back_readiness: Readiness§log_ctx: String§front_timeout: Option<TimeoutContainer>§back_timeout: Option<TimeoutContainer>§listener: Rc<RefCell<L>>

Implementations§

Trait Implementations§

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.