Skip to main content

UdsFrameMutExt

Trait UdsFrameMutExt 

Source
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§

Source

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.

Source

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.

Implementations on Foreign Types§

Source§

impl<'a> UdsFrameMutExt<'a> for UdsFrameMut<'a>

Source§

fn suppress(&mut self)

Source§

fn un_suppress(&mut self)

Implementors§