[][src]Struct hexavalent::list::DccTransfer

pub struct DccTransfer { /* fields omitted */ }

A DCC file transfer.

See the List trait for usage.

Implementations

impl DccTransfer[src]

pub fn socket_addr(&self) -> SocketAddrV4[src]

Socket of the remote user.

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

Bytes per second (speed).

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

Destination full pathname.

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

Filename.

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

Nickname of person who the file is from/to.

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

Bytes sent/received.

pub fn resumed_at(&self) -> Option<NonZeroU64>[src]

Point at which this file was resumed.

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

File size in bytes.

Trait Implementations

impl Clone for DccTransfer[src]

impl Debug for DccTransfer[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> 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.