pub enum StandardPduType {
GetRequest,
GetNextRequest,
Response,
SetRequest,
InformRequest,
TrapV2,
Report,
}Expand description
PDU tags whose body uses the standard request/error/varbind layout.
GETBULK is deliberately absent because its two integer fields have different meanings. The SNMPv1 Trap body remains envelope-specific.
Variants§
GetRequest
GET request.
GetNextRequest
GET-NEXT request.
Response
Response.
SetRequest
SET request.
InformRequest
INFORM request.
TrapV2
SNMPv2 trap.
Report
SNMPv3 report.
Implementations§
Trait Implementations§
Source§impl Clone for StandardPduType
impl Clone for StandardPduType
Source§fn clone(&self) -> StandardPduType
fn clone(&self) -> StandardPduType
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 StandardPduType
Source§impl Debug for StandardPduType
impl Debug for StandardPduType
impl Eq for StandardPduType
Source§impl Hash for StandardPduType
impl Hash for StandardPduType
Source§impl PartialEq for StandardPduType
impl PartialEq for StandardPduType
impl StructuralPartialEq for StandardPduType
Auto Trait Implementations§
impl Freeze for StandardPduType
impl RefUnwindSafe for StandardPduType
impl Send for StandardPduType
impl Sync for StandardPduType
impl Unpin for StandardPduType
impl UnsafeUnpin for StandardPduType
impl UnwindSafe for StandardPduType
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.