pub enum RespondPayload {
Packed(Vec<u8, prns_core::::engine::commands::request::RespondData::{constant#0}>),
StaticBytes(&'static [u8]),
}Variants§
Packed(Vec<u8, prns_core::::engine::commands::request::RespondData::{constant#0}>)
StaticBytes(&'static [u8])
Trait Implementations§
Source§impl Clone for RespondPayload
impl Clone for RespondPayload
Source§fn clone(&self) -> RespondPayload
fn clone(&self) -> RespondPayload
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 moreSource§impl Debug for RespondPayload
impl Debug for RespondPayload
impl Eq for RespondPayload
Source§impl PartialEq for RespondPayload
impl PartialEq for RespondPayload
impl StructuralPartialEq for RespondPayload
Auto Trait Implementations§
impl Freeze for RespondPayload
impl RefUnwindSafe for RespondPayload
impl Send for RespondPayload
impl Sync for RespondPayload
impl Unpin for RespondPayload
impl UnsafeUnpin for RespondPayload
impl UnwindSafe for RespondPayload
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