Enum proxy_wasm::types::BufferType
source · #[non_exhaustive]#[repr(u32)]pub enum BufferType {
HttpRequestBody = 0,
HttpResponseBody = 1,
DownstreamData = 2,
UpstreamData = 3,
HttpCallResponseBody = 4,
GrpcReceiveBuffer = 5,
VmConfiguration = 6,
PluginConfiguration = 7,
}
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 = 0
HttpResponseBody = 1
DownstreamData = 2
UpstreamData = 3
HttpCallResponseBody = 4
GrpcReceiveBuffer = 5
VmConfiguration = 6
PluginConfiguration = 7
Trait Implementations§
source§impl Clone for BufferType
impl Clone for BufferType
source§fn clone(&self) -> BufferType
fn clone(&self) -> BufferType
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 BufferType
impl Debug for BufferType
source§impl Hash for BufferType
impl Hash for BufferType
source§impl PartialEq for BufferType
impl PartialEq for BufferType
impl Copy for BufferType
impl Eq for BufferType
impl StructuralPartialEq for BufferType
Auto Trait Implementations§
impl Freeze for BufferType
impl RefUnwindSafe for BufferType
impl Send for BufferType
impl Sync for BufferType
impl Unpin for BufferType
impl UnwindSafe for BufferType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)