pub struct LoadedConnection { /* private fields */ }Implementations§
Source§impl LoadedConnection
impl LoadedConnection
pub fn update(&mut self)
pub fn total_bytes_series(&self) -> &CounterSeries
Sourcepub fn is_ongoing(&self) -> bool
pub fn is_ongoing(&self) -> bool
Whether this connection is still transferring.
Sourcepub fn has_failed(&self) -> bool
pub fn has_failed(&self) -> bool
Whether this connection terminated early with an error.
Sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
Why this connection failed, if a reason was reported.
pub fn stop(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LoadedConnection
impl !UnwindSafe for LoadedConnection
impl Freeze for LoadedConnection
impl Send for LoadedConnection
impl Sync for LoadedConnection
impl Unpin for LoadedConnection
impl UnsafeUnpin for LoadedConnection
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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