Enum monoio_http::common::body::StreamHint
source · pub enum StreamHint {
None,
Fixed,
Stream,
}
Variants§
Trait Implementations§
source§impl Clone for StreamHint
impl Clone for StreamHint
source§fn clone(&self) -> StreamHint
fn clone(&self) -> StreamHint
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 StreamHint
impl Debug for StreamHint
source§impl PartialEq<StreamHint> for StreamHint
impl PartialEq<StreamHint> for StreamHint
source§fn eq(&self, other: &StreamHint) -> bool
fn eq(&self, other: &StreamHint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StreamHint
impl Eq for StreamHint
impl StructuralEq for StreamHint
impl StructuralPartialEq for StreamHint
Auto Trait Implementations§
impl RefUnwindSafe for StreamHint
impl Send for StreamHint
impl Sync for StreamHint
impl Unpin for StreamHint
impl UnwindSafe for StreamHint
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
source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.