pub enum ParseContext {
Show 14 variants
DatagramHeader,
DatagramHeaderVersion,
AgentAddress,
SubAgentId,
SequenceNumber,
Uptime,
NumSamples,
SampleDataFormat,
SampleLength,
SampleData,
FlowSample,
CounterSample,
ExpandedFlowSample,
ExpandedCounterSample,
}Expand description
Identifies the parsing phase or field where an error occurred.
Variants§
DatagramHeader
DatagramHeaderVersion
AgentAddress
SubAgentId
SequenceNumber
Uptime
NumSamples
SampleDataFormat
SampleLength
SampleData
FlowSample
CounterSample
ExpandedFlowSample
ExpandedCounterSample
Trait Implementations§
Source§impl Clone for ParseContext
impl Clone for ParseContext
Source§fn clone(&self) -> ParseContext
fn clone(&self) -> ParseContext
Returns a duplicate 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 ParseContext
impl Debug for ParseContext
Source§impl<'de> Deserialize<'de> for ParseContext
impl<'de> Deserialize<'de> for ParseContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ParseContext
impl Display for ParseContext
Source§impl PartialEq for ParseContext
impl PartialEq for ParseContext
Source§impl Serialize for ParseContext
impl Serialize for ParseContext
impl Copy for ParseContext
impl Eq for ParseContext
impl StructuralPartialEq for ParseContext
Auto Trait Implementations§
impl Freeze for ParseContext
impl RefUnwindSafe for ParseContext
impl Send for ParseContext
impl Sync for ParseContext
impl Unpin for ParseContext
impl UnsafeUnpin for ParseContext
impl UnwindSafe for ParseContext
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