Struct stomp_parser::server::ErrorFrame
source · pub struct ErrorFrame {
pub message: Option<MessageValue>,
pub custom: Vec<CustomValue>,
/* private fields */
}
Expand description
This frame has required headers and optional headers message
.
Fields§
§message: Option<MessageValue>
The value of the message
header.
custom: Vec<CustomValue>
Implementations§
source§impl ErrorFrame
impl ErrorFrame
pub fn from_message(message: &str) -> Self
Trait Implementations§
source§impl Debug for ErrorFrame
impl Debug for ErrorFrame
Auto Trait Implementations§
impl RefUnwindSafe for ErrorFrame
impl Send for ErrorFrame
impl Sync for ErrorFrame
impl Unpin for ErrorFrame
impl UnwindSafe for ErrorFrame
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