pub struct ReceivedNotification {
pub notification: Notification,
pub source: SocketAddr,
pub wire_identity: NotificationWireIdentity,
pub inform_ack: Option<InformAckOutcome>,
}Expand description
One application-accepted notification and its local acknowledgement result.
Traps always have inform_ack set to None. Informs always have one
outcome, and the response attempt completes before this value is returned.
The source and wire identity are transmission metadata and must not be
treated as a semantic-event deduplication key.
Fields§
§notification: NotificationAccepted notification value.
source: SocketAddrDatagram source address; SNMP does not cryptographically authenticate it.
wire_identity: NotificationWireIdentityVersion, request ID, and V3 message/security identity from the wire.
inform_ack: Option<InformAckOutcome>Local acknowledgement outcome for an Inform, or None for a trap.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ReceivedNotification
impl !RefUnwindSafe for ReceivedNotification
impl !UnwindSafe for ReceivedNotification
impl Send for ReceivedNotification
impl Sync for ReceivedNotification
impl Unpin for ReceivedNotification
impl UnsafeUnpin for ReceivedNotification
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