[−][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.
Trait Implementations
impl Clone for DccTransferInfo
[src]
fn clone(&self) -> DccTransferInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DccTransferInfo
[src]
impl Eq for DccTransferInfo
[src]
impl PartialEq<DccTransferInfo> for DccTransferInfo
[src]
fn eq(&self, other: &DccTransferInfo) -> bool
[src]
fn ne(&self, other: &DccTransferInfo) -> bool
[src]
impl StructuralEq for DccTransferInfo
[src]
impl StructuralPartialEq for DccTransferInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for DccTransferInfo
impl Send for DccTransferInfo
impl Sync for DccTransferInfo
impl Unpin for DccTransferInfo
impl UnwindSafe for DccTransferInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,