pub enum HttpActionResponse {
V1(HttpActionResponse),
V2(HttpActionResponse),
V3(HttpActionResponse),
V4(HttpActionResponse),
}Variants§
Trait Implementations§
Source§impl OwnedVersionedData for HttpActionResponse
impl OwnedVersionedData for HttpActionResponse
type Latest = HttpActionResponse
fn wrap_latest(latest: Self::Latest) -> Self
fn unwrap_latest(self) -> Result<Self::Latest>
fn deserialize_version(payload: &[u8], version: u16) -> Result<Self>
fn serialize_version(self, version: u16) -> Result<Vec<u8>>
fn deserialize_converters() -> Vec<impl Fn(Self) -> Result<Self>>
fn serialize_converters() -> Vec<impl Fn(Self) -> Result<Self>>
fn deserialize(payload: &[u8], version: u16) -> Result<Self::Latest, Error>
fn serialize(self, version: u16) -> Result<Vec<u8>, Error>
fn deserialize_with_embedded_version( payload: &[u8], ) -> Result<Self::Latest, Error>
fn serialize_with_embedded_version(self, version: u16) -> Result<Vec<u8>, Error>
Auto Trait Implementations§
impl Freeze for HttpActionResponse
impl RefUnwindSafe for HttpActionResponse
impl Send for HttpActionResponse
impl Sync for HttpActionResponse
impl Unpin for HttpActionResponse
impl UnsafeUnpin for HttpActionResponse
impl UnwindSafe for HttpActionResponse
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