pub enum MessageCaptureError {
ZeroMessages,
ZeroBytes,
}Expand description
Invalid bounded-message capture configuration.
Variants§
ZeroMessages
At least one message slot is required.
ZeroBytes
At least one source-content byte is required.
Trait Implementations§
Source§impl Clone for MessageCaptureError
impl Clone for MessageCaptureError
Source§fn clone(&self) -> MessageCaptureError
fn clone(&self) -> MessageCaptureError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MessageCaptureError
Source§impl Debug for MessageCaptureError
impl Debug for MessageCaptureError
Source§impl Display for MessageCaptureError
impl Display for MessageCaptureError
impl Eq for MessageCaptureError
Source§impl Error for MessageCaptureError
impl Error for MessageCaptureError
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 MessageCaptureError
impl PartialEq for MessageCaptureError
impl StructuralPartialEq for MessageCaptureError
Auto Trait Implementations§
impl Freeze for MessageCaptureError
impl RefUnwindSafe for MessageCaptureError
impl Send for MessageCaptureError
impl Sync for MessageCaptureError
impl Unpin for MessageCaptureError
impl UnsafeUnpin for MessageCaptureError
impl UnwindSafe for MessageCaptureError
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