pub struct RoutingActivationResponse {
pub logical_address_tester: LogicalAddress,
pub logical_address_of_doip_entity: u16,
pub routing_activation_response_code: RoutingActivationResponseCode,
pub reserved_oem: [u8; 4],
pub oem_specific: Option<[u8; 4]>,
}Expand description
Routing activation response message.
This is the reply to RoutingActivationRequest, sent by a DoIP entity to
a DoIP external tester.
The tester hopes to get a
RoutingActivationResponseCode::RoutingSuccessfullyActivated.
Fields§
§logical_address_tester: LogicalAddressExternal DoIP test equipment address.
logical_address_of_doip_entity: u16DoIP entity address.
routing_activation_response_code: RoutingActivationResponseCodeRouting activation status information.
reserved_oem: [u8; 4]Reserved OEM.
oem_specific: Option<[u8; 4]>OEM specific.
Trait Implementations§
Source§impl Clone for RoutingActivationResponse
impl Clone for RoutingActivationResponse
Source§fn clone(&self) -> RoutingActivationResponse
fn clone(&self) -> RoutingActivationResponse
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 RoutingActivationResponse
impl Debug for RoutingActivationResponse
Source§impl Payload for RoutingActivationResponse
impl Payload for RoutingActivationResponse
Source§fn payload_type() -> PayloadType
fn payload_type() -> PayloadType
Get the payload type for this payload.
Source§fn read<T: Read>(
reader: &mut T,
payload_length: usize,
) -> Result<Self, DoIpError>
fn read<T: Read>( reader: &mut T, payload_length: usize, ) -> Result<Self, DoIpError>
Reads from the reader
payload_length bytes and decodes the message.impl Eq for RoutingActivationResponse
impl StructuralPartialEq for RoutingActivationResponse
Auto Trait Implementations§
impl Freeze for RoutingActivationResponse
impl RefUnwindSafe for RoutingActivationResponse
impl Send for RoutingActivationResponse
impl Sync for RoutingActivationResponse
impl Unpin for RoutingActivationResponse
impl UnwindSafe for RoutingActivationResponse
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