[][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]

impl Debug for DccTransferInfo[src]

impl Eq for DccTransferInfo[src]

impl PartialEq<DccTransferInfo> for DccTransferInfo[src]

impl StructuralEq for DccTransferInfo[src]

impl StructuralPartialEq for DccTransferInfo[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> Erased for T

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.