Skip to main content

doip_definitions/doip_payload/
entity_status_request.rs

1/// Requests the status of a `DoIP` Entity.
2#[cfg_attr(feature = "python-bindings", pyo3::pyclass)]
3#[derive(Copy, Clone, Debug, PartialEq)]
4pub struct EntityStatusRequest {}
5
6impl From<EntityStatusRequest> for [u8; 0] {
7    fn from(_: EntityStatusRequest) -> Self {
8        []
9    }
10}
11
12impl From<&[u8]> for EntityStatusRequest {
13    fn from(_: &[u8]) -> Self {
14        EntityStatusRequest {}
15    }
16}