pub struct UnsegmentedFileData {
pub offset: u64,
pub file_data: Vec<u8>,
}Expand description
Holds File data beginning at the given offset.
Fields§
§offset: u64Byte offset into the file where this data begins.
file_data: Vec<u8>Trait Implementations§
Source§impl Clone for UnsegmentedFileData
impl Clone for UnsegmentedFileData
Source§fn clone(&self) -> UnsegmentedFileData
fn clone(&self) -> UnsegmentedFileData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnsegmentedFileData
impl Debug for UnsegmentedFileData
Source§impl FSSEncode for UnsegmentedFileData
impl FSSEncode for UnsegmentedFileData
type PDUType = UnsegmentedFileData
Source§fn encoded_len(&self, file_size_flag: FileSizeFlag) -> u16
fn encoded_len(&self, file_size_flag: FileSizeFlag) -> u16
Gets the encoded length must fit in a u16 for PDUs
Source§impl PartialEq for UnsegmentedFileData
impl PartialEq for UnsegmentedFileData
impl Eq for UnsegmentedFileData
impl StructuralPartialEq for UnsegmentedFileData
Auto Trait Implementations§
impl Freeze for UnsegmentedFileData
impl RefUnwindSafe for UnsegmentedFileData
impl Send for UnsegmentedFileData
impl Sync for UnsegmentedFileData
impl Unpin for UnsegmentedFileData
impl UnwindSafe for UnsegmentedFileData
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