[][src]Struct hexchat::DccTransferInfo

pub struct DccTransferInfo { /* fields omitted */ }

A full set of information about a DCC transfer.

Methods

impl DccTransferInfo[src]

pub fn get_address(&self) -> Ipv4Addr[src]

Gets the source address of the other party.

pub fn get_bytes_per_second(&self) -> u32[src]

Gets the speed of sending in bytes per second.

pub fn get_destination(&self) -> &Path[src]

Gets the destination path of the transfer.

pub fn get_filename(&self) -> &str[src]

Gets the name of the file being transferred.

pub fn get_sender_nick(&self) -> &str[src]

Gets the nick of the other party.

pub fn get_port(&self) -> u16[src]

Gets the port the transfer is being sent over.

pub fn get_bytes_processed(&self) -> u64[src]

Gets the number of bytes processed so far.

pub fn get_resume_point(&self) -> Option<u64>[src]

Gets the byte count at which this transfer was last resumed, or None if it hasn't been paused.

pub fn get_file_size(&self) -> u64[src]

Gets the size of the file in bytes.

pub fn get_status(&self) -> DccTransferStatus[src]

Gets the status of the transfer.

pub fn get_transfer_type(&self) -> DccTransferType[src]

Gets the type of the transfer.

Trait Implementations

impl Clone for DccTransferInfo[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<DccTransferInfo> for DccTransferInfo[src]

impl Eq for DccTransferInfo[src]

impl Debug for DccTransferInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Erased for T