Enum sozu_lib::protocol::kawa_h1::SessionStatus
source · pub enum SessionStatus {
Normal,
DefaultAnswer(DefaultAnswerStatus, Rc<Vec<u8>>, usize),
}Variants§
Normal
DefaultAnswer(DefaultAnswerStatus, Rc<Vec<u8>>, usize)
status, HTTP answer, index in HTTP answer
Trait Implementations§
source§impl Clone for SessionStatus
impl Clone for SessionStatus
source§fn clone(&self) -> SessionStatus
fn clone(&self) -> SessionStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SessionStatus
impl Debug for SessionStatus
source§impl PartialEq<SessionStatus> for SessionStatus
impl PartialEq<SessionStatus> for SessionStatus
source§fn eq(&self, other: &SessionStatus) -> bool
fn eq(&self, other: &SessionStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for SessionStatus
impl StructuralEq for SessionStatus
impl StructuralPartialEq for SessionStatus
Auto Trait Implementations§
impl RefUnwindSafe for SessionStatus
impl !Send for SessionStatus
impl !Sync for SessionStatus
impl Unpin for SessionStatus
impl UnwindSafe for SessionStatus
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.