pub struct OfferedEndpoint {
pub service_id: u16,
pub instance_id: u16,
pub major_version: u8,
pub minor_version: u32,
pub endpoint: Option<NetEndpoint>,
pub is_offer: bool,
}Expand description
Information about a service endpoint extracted from an SD message.
Fields§
§service_id: u16The SOME/IP service ID.
instance_id: u16The SOME/IP instance ID.
major_version: u8The major version of the offered service interface.
minor_version: u32The minor version of the offered service interface.
endpoint: Option<NetEndpoint>The full endpoint (IPv4 socket + transport protocol) extracted from the SD options, if present.
is_offer: booltrue for OfferService, false for StopOfferService.
Auto Trait Implementations§
impl Freeze for OfferedEndpoint
impl RefUnwindSafe for OfferedEndpoint
impl Send for OfferedEndpoint
impl Sync for OfferedEndpoint
impl Unpin for OfferedEndpoint
impl UnsafeUnpin for OfferedEndpoint
impl UnwindSafe for OfferedEndpoint
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