pub struct GenericNack {
pub nack_code: NackCode,
}Expand description
The generic negative acknowledgement of a bad request.
This is found usually when a critical error occurs due to a bad DoIP packet
or an entity issue.
Fields§
§nack_code: NackCodeAvailable negative acknowledgement codes
Trait Implementations§
Source§impl Clone for GenericNack
impl Clone for GenericNack
Source§fn clone(&self) -> GenericNack
fn clone(&self) -> GenericNack
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 GenericNack
impl Debug for GenericNack
Source§impl From<GenericNack> for [u8; 1]
impl From<GenericNack> for [u8; 1]
Source§fn from(value: GenericNack) -> Self
fn from(value: GenericNack) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GenericNack
impl PartialEq for GenericNack
Source§impl TryFrom<&[u8]> for GenericNack
impl TryFrom<&[u8]> for GenericNack
impl Copy for GenericNack
impl StructuralPartialEq for GenericNack
Auto Trait Implementations§
impl Freeze for GenericNack
impl RefUnwindSafe for GenericNack
impl Send for GenericNack
impl Sync for GenericNack
impl Unpin for GenericNack
impl UnsafeUnpin for GenericNack
impl UnwindSafe for GenericNack
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