pub struct DtgTopicRequestNack {
pub datagram_type: DatagramType,
pub flag: TopicResponse,
pub size: Size,
pub payload: Vec<u8>,
}Fields§
§datagram_type: DatagramType§flag: TopicResponse§size: Size§payload: Vec<u8>Implementations§
Source§impl DtgTopicRequestNack
impl DtgTopicRequestNack
pub fn new(status: TopicResponse, error_message: &str) -> DtgTopicRequestNack
pub fn as_bytes(&self) -> Vec<u8> ⓘ
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DtgTopicRequestNack
impl RefUnwindSafe for DtgTopicRequestNack
impl Send for DtgTopicRequestNack
impl Sync for DtgTopicRequestNack
impl Unpin for DtgTopicRequestNack
impl UnwindSafe for DtgTopicRequestNack
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