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
sourceimpl Clone for MessageWriteError
impl Clone for MessageWriteError
sourcefn clone(&self) -> MessageWriteError
fn clone(&self) -> MessageWriteError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MessageWriteError
impl Debug for MessageWriteError
sourceimpl Display for MessageWriteError
impl Display for MessageWriteError
sourceimpl Error for MessageWriteError
impl Error for MessageWriteError
1.30.0 · sourcefn 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 · sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more