pub trait UdsFrameMutExt<'a>: UdsFrameExt<'a> {
// Required methods
fn suppress(&mut self);
fn un_suppress(&mut self);
}Expand description
Semantic extension trait for UdsFrameMut.
Extends UdsFrameExt with mutation methods that require protocol
knowledge - suppress/un-suppress operates on the sub-function byte
whose position is service-dependent.
Required Methods§
Sourcefn suppress(&mut self)
fn suppress(&mut self)
Sets the suppress positive response bit in the sub-function byte.
Has no effect if the service does not define a sub-function, or if the bit is already set.
Sourcefn un_suppress(&mut self)
fn un_suppress(&mut self)
Clears the suppress positive response bit in the sub-function byte.
Has no effect if the service does not define a sub-function, or if the bit is already clear.