Enum proxy_wasm::types::BufferType
source · #[repr(u32)]
#[non_exhaustive]
pub enum BufferType {
HttpRequestBody,
HttpResponseBody,
DownstreamData,
UpstreamData,
HttpCallResponseBody,
GrpcReceiveBuffer,
VmConfiguration,
PluginConfiguration,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HttpRequestBody
HttpResponseBody
DownstreamData
UpstreamData
HttpCallResponseBody
GrpcReceiveBuffer
VmConfiguration
PluginConfiguration
Trait Implementations
sourceimpl Clone for BufferType
impl Clone for BufferType
sourcefn clone(&self) -> BufferType
fn clone(&self) -> BufferType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BufferType
impl Debug for BufferType
sourceimpl Hash for BufferType
impl Hash for BufferType
sourceimpl PartialEq<BufferType> for BufferType
impl PartialEq<BufferType> for BufferType
sourcefn eq(&self, other: &BufferType) -> bool
fn eq(&self, other: &BufferType) -> bool
impl Copy for BufferType
impl Eq for BufferType
impl StructuralEq for BufferType
impl StructuralPartialEq for BufferType
Auto Trait Implementations
impl RefUnwindSafe for BufferType
impl Send for BufferType
impl Sync for BufferType
impl Unpin for BufferType
impl UnwindSafe for BufferType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more