pub struct TransBytesError {
pub bytes_transferred: usize,
pub kind: TransferError,
}Fields§
§bytes_transferred: usize§kind: TransferErrorTrait Implementations§
Source§impl Clone for TransBytesError
impl Clone for TransBytesError
Source§fn clone(&self) -> TransBytesError
fn clone(&self) -> TransBytesError
Returns a duplicate 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 moreSource§impl Debug for TransBytesError
impl Debug for TransBytesError
Source§impl Display for TransBytesError
impl Display for TransBytesError
Source§impl Error for TransBytesError
impl Error for TransBytesError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for TransBytesError
impl PartialEq for TransBytesError
impl Copy for TransBytesError
impl Eq for TransBytesError
impl StructuralPartialEq for TransBytesError
Auto Trait Implementations§
impl Freeze for TransBytesError
impl RefUnwindSafe for TransBytesError
impl Send for TransBytesError
impl Sync for TransBytesError
impl Unpin for TransBytesError
impl UnwindSafe for TransBytesError
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