Enum wayland_commons::wire::MessageWriteError
source · pub enum MessageWriteError {
BufferTooSmall,
DupFdFailed(Error),
}
Expand description
Error generated when trying to serialize a message into buffers
Variants§
BufferTooSmall
The buffer is too small to hold the message contents
DupFdFailed(Error)
The message contains a FD that could not be dup-ed
Trait Implementations§
source§impl Clone for MessageWriteError
impl Clone for MessageWriteError
source§fn clone(&self) -> MessageWriteError
fn clone(&self) -> MessageWriteError
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 MessageWriteError
impl Debug for MessageWriteError
source§impl Display for MessageWriteError
impl Display for MessageWriteError
source§impl Error for MessageWriteError
impl Error for MessageWriteError
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()
Auto Trait Implementations§
impl RefUnwindSafe for MessageWriteError
impl Send for MessageWriteError
impl Sync for MessageWriteError
impl Unpin for MessageWriteError
impl UnwindSafe for MessageWriteError
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