pub enum ApplicationResponse {
GetInfo(HeaderSet),
GetData((Vec<u8>, HeaderSet)),
Put,
}
Expand description
Represents a response from the upper layer application during a multi-step operation.
Variants§
GetInfo(HeaderSet)
The application responded successfully to get GET information request by providing informational headers.
GetData((Vec<u8>, HeaderSet))
The application responded successfully to the GET request by providing the data payload and informational headers.
Put
The application responded successfully to the PUT request.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApplicationResponse
impl RefUnwindSafe for ApplicationResponse
impl Send for ApplicationResponse
impl Sync for ApplicationResponse
impl Unpin for ApplicationResponse
impl UnwindSafe for ApplicationResponse
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