Struct hexavalent::list::DccTransfer
source · pub struct DccTransfer { /* private fields */ }
Expand description
A DCC file transfer.
See the List
trait for usage.
Implementations§
source§impl DccTransfer
impl DccTransfer
sourcepub fn socket_addr(&self) -> SocketAddrV4
pub fn socket_addr(&self) -> SocketAddrV4
Socket of the remote user.
sourcepub fn bytes_per_second(&self) -> u32
pub fn bytes_per_second(&self) -> u32
Bytes per second (speed).
sourcepub fn resumed_at(&self) -> Option<NonZeroU64>
pub fn resumed_at(&self) -> Option<NonZeroU64>
Point at which this file was resumed.
Trait Implementations§
source§impl Clone for DccTransfer
impl Clone for DccTransfer
source§fn clone(&self) -> DccTransfer
fn clone(&self) -> DccTransfer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for DccTransfer
impl RefUnwindSafe for DccTransfer
impl Send for DccTransfer
impl Sync for DccTransfer
impl Unpin for DccTransfer
impl UnwindSafe for DccTransfer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more