[−][src]Struct hexchat::DccTransferInfo
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.
Auto Trait Implementations
impl Send for DccTransferInfo
impl Sync for DccTransferInfo
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
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.