pub struct MetadataPDU {
pub checksum_type: ChecksumType,
pub file_size: u64,
pub source_filename: Utf8PathBuf,
pub destination_filename: Utf8PathBuf,
}Fields§
§checksum_type: ChecksumType§file_size: u64§source_filename: Utf8PathBuf§destination_filename: Utf8PathBufTrait Implementations§
Source§impl Clone for MetadataPDU
impl Clone for MetadataPDU
Source§fn clone(&self) -> MetadataPDU
fn clone(&self) -> MetadataPDU
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 MetadataPDU
impl Debug for MetadataPDU
Source§impl FSSEncode for MetadataPDU
impl FSSEncode for MetadataPDU
type PDUType = MetadataPDU
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 MetadataPDU
impl PartialEq for MetadataPDU
impl Eq for MetadataPDU
impl StructuralPartialEq for MetadataPDU
Auto Trait Implementations§
impl Freeze for MetadataPDU
impl RefUnwindSafe for MetadataPDU
impl Send for MetadataPDU
impl Sync for MetadataPDU
impl Unpin for MetadataPDU
impl UnwindSafe for MetadataPDU
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