Struct bip_metainfo::File
[−]
[src]
pub struct File { /* fields omitted */ }
Contains information for a single file.
Methods
impl File
[src]
fn length(&self) -> u64
Length of the file in bytes.
fn md5sum(&self) -> Option<&[u8]>
Optional md5sum of the file.
Not used by bittorrent.
fn path(&self) -> &Path
Path of the file.
Trait Implementations
impl Debug for File
[src]
impl Clone for File
[src]
fn clone(&self) -> File
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more