pub enum GuardrailKind {
Memory,
QueueDepth,
}Expand description
Category of guardrail that triggered.
Variants§
Trait Implementations§
Source§impl Clone for GuardrailKind
impl Clone for GuardrailKind
Source§fn clone(&self) -> GuardrailKind
fn clone(&self) -> GuardrailKind
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 GuardrailKind
Source§impl Debug for GuardrailKind
impl Debug for GuardrailKind
impl Eq for GuardrailKind
Source§impl Hash for GuardrailKind
impl Hash for GuardrailKind
Source§impl PartialEq for GuardrailKind
impl PartialEq for GuardrailKind
Source§fn eq(&self, other: &GuardrailKind) -> bool
fn eq(&self, other: &GuardrailKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GuardrailKind
Auto Trait Implementations§
impl Freeze for GuardrailKind
impl RefUnwindSafe for GuardrailKind
impl Send for GuardrailKind
impl Sync for GuardrailKind
impl Unpin for GuardrailKind
impl UnsafeUnpin for GuardrailKind
impl UnwindSafe for GuardrailKind
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