pub enum ExchangeInputPolicy {
SendAndFinish,
SendAndRetain,
}Expand description
Whether the encoded exchange finishes the connection write path.
Variants§
SendAndFinish
Send body and finish the request (HTTP request/response).
SendAndRetain
Send while retaining the bidirectional session.
Trait Implementations§
Source§impl Clone for ExchangeInputPolicy
impl Clone for ExchangeInputPolicy
Source§fn clone(&self) -> ExchangeInputPolicy
fn clone(&self) -> ExchangeInputPolicy
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 moreimpl Copy for ExchangeInputPolicy
Source§impl Debug for ExchangeInputPolicy
impl Debug for ExchangeInputPolicy
impl Eq for ExchangeInputPolicy
Source§impl PartialEq for ExchangeInputPolicy
impl PartialEq for ExchangeInputPolicy
impl StructuralPartialEq for ExchangeInputPolicy
Auto Trait Implementations§
impl Freeze for ExchangeInputPolicy
impl RefUnwindSafe for ExchangeInputPolicy
impl Send for ExchangeInputPolicy
impl Sync for ExchangeInputPolicy
impl Unpin for ExchangeInputPolicy
impl UnsafeUnpin for ExchangeInputPolicy
impl UnwindSafe for ExchangeInputPolicy
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