Trait TcatOperation

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§