pub trait TcatOperation {
    // Provided methods
    fn read(
        req: &FwReq,
        node: &FwNode,
        offset: usize,
        frames: &mut [u8],
        timeout_ms: u32
    ) -> Result<(), Error> { ... }
    fn write(
        req: &FwReq,
        node: &FwNode,
        offset: usize,
        frames: &mut [u8],
        timeout_ms: u32
    ) -> Result<(), Error> { ... }
    fn read_general_sections(
        req: &FwReq,
        node: &FwNode,
        sections: &mut GeneralSections,
        timeout_ms: u32
    ) -> Result<(), Error> { ... }
}
Expand description

Operation of TCAT general protocol.

Provided Methods§

source

fn read( req: &FwReq, node: &FwNode, offset: usize, frames: &mut [u8], timeout_ms: u32 ) -> Result<(), Error>

Initiate read transaction to offset in specific address space and finish it.

source

fn write( req: &FwReq, node: &FwNode, offset: usize, frames: &mut [u8], timeout_ms: u32 ) -> Result<(), Error>

Initiate write transaction to offset in specific address space and finish it.

source

fn read_general_sections( req: &FwReq, node: &FwNode, sections: &mut GeneralSections, timeout_ms: u32 ) -> Result<(), Error>

Read section layout.

Object Safety§

This trait is not object safe.

Implementors§