pub enum ResponseEnvelope {
Success(Response),
Error(ApplicationError),
}Variants§
Success(Response)
Error(ApplicationError)
Trait Implementations§
Source§impl Clone for ResponseEnvelope
impl Clone for ResponseEnvelope
Source§impl Debug for ResponseEnvelope
impl Debug for ResponseEnvelope
impl Eq for ResponseEnvelope
Source§impl PartialEq for ResponseEnvelope
impl PartialEq for ResponseEnvelope
impl StructuralPartialEq for ResponseEnvelope
Auto Trait Implementations§
impl Freeze for ResponseEnvelope
impl RefUnwindSafe for ResponseEnvelope
impl Send for ResponseEnvelope
impl Sync for ResponseEnvelope
impl Unpin for ResponseEnvelope
impl UnsafeUnpin for ResponseEnvelope
impl UnwindSafe for ResponseEnvelope
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