pub struct PartialMsgWriteError;
Expand description
Marker error indicating that a datagram write operation failed because the amount of bytes which were actually written as reported by the operating system was smaller than the size of the message which was requested to be written.
Always emitted with the ErrorKind::Other
error type.
Trait Implementations§
source§impl Clone for PartialMsgWriteError
impl Clone for PartialMsgWriteError
source§fn clone(&self) -> PartialMsgWriteError
fn clone(&self) -> PartialMsgWriteError
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 moresource§impl Debug for PartialMsgWriteError
impl Debug for PartialMsgWriteError
source§impl Default for PartialMsgWriteError
impl Default for PartialMsgWriteError
source§fn default() -> PartialMsgWriteError
fn default() -> PartialMsgWriteError
Returns the “default value” for a type. Read more
source§impl Display for PartialMsgWriteError
impl Display for PartialMsgWriteError
source§impl Error for PartialMsgWriteError
impl Error for PartialMsgWriteError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<PartialMsgWriteError> for PartialMsgWriteError
impl PartialEq<PartialMsgWriteError> for PartialMsgWriteError
source§fn eq(&self, other: &PartialMsgWriteError) -> bool
fn eq(&self, other: &PartialMsgWriteError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PartialMsgWriteError
impl Eq for PartialMsgWriteError
impl StructuralEq for PartialMsgWriteError
impl StructuralPartialEq for PartialMsgWriteError
Auto Trait Implementations§
impl RefUnwindSafe for PartialMsgWriteError
impl Send for PartialMsgWriteError
impl Sync for PartialMsgWriteError
impl Unpin for PartialMsgWriteError
impl UnwindSafe for PartialMsgWriteError
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