pub struct ManifestEntry {
pub file_address: u64,
pub file_size: u64,
pub format: FileFormat,
}Expand description
One entry of the device’s Manifest Table: a GenICam file in its memory.
Fields§
§file_address: u64Where the file is.
file_size: u64Its size in bytes.
format: FileFormatHow it is stored.
Implementations§
Source§impl ManifestEntry
impl ManifestEntry
Sourcepub fn read_device_xml<T: UsbTransfer>(
control: &mut ControlChannel<T>,
table_address: u64,
) -> Result<Self, U3vError>
pub fn read_device_xml<T: UsbTransfer>( control: &mut ControlChannel<T>, table_address: u64, ) -> Result<Self, U3vError>
The first entry describing a device XML (file type 0) in the
Manifest Table at table_address (from ABRM). A buffer XML (file
type 1) describes chunk data only and is skipped.
Trait Implementations§
Source§impl Clone for ManifestEntry
impl Clone for ManifestEntry
Auto Trait Implementations§
impl Freeze for ManifestEntry
impl RefUnwindSafe for ManifestEntry
impl Send for ManifestEntry
impl Sync for ManifestEntry
impl Unpin for ManifestEntry
impl UnsafeUnpin for ManifestEntry
impl UnwindSafe for ManifestEntry
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