pub enum TextAdmission {
Accepted(MetricValues),
Binary,
InvalidUtf8,
}Expand description
Outcome of the basic text-admission pass.
Variants§
Accepted(MetricValues)
Valid UTF-8 without a NUL byte.
Binary
A NUL byte appeared anywhere in the stream.
InvalidUtf8
The byte stream was not valid UTF-8.
Trait Implementations§
Source§impl Clone for TextAdmission
impl Clone for TextAdmission
impl Copy for TextAdmission
Source§impl Debug for TextAdmission
impl Debug for TextAdmission
impl Eq for TextAdmission
Source§impl PartialEq for TextAdmission
impl PartialEq for TextAdmission
impl StructuralPartialEq for TextAdmission
Auto Trait Implementations§
impl Freeze for TextAdmission
impl RefUnwindSafe for TextAdmission
impl Send for TextAdmission
impl Sync for TextAdmission
impl Unpin for TextAdmission
impl UnsafeUnpin for TextAdmission
impl UnwindSafe for TextAdmission
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