pub enum MessageResponseView<'a> {
FileDescriptorResponse(Box<FileDescriptorResponseView<'a>>),
AllExtensionNumbersResponse(Box<ExtensionNumberResponseView<'a>>),
ListServicesResponse(Box<ListServiceResponseView<'a>>),
ErrorResponse(Box<ErrorResponseView<'a>>),
}Variants§
FileDescriptorResponse(Box<FileDescriptorResponseView<'a>>)
AllExtensionNumbersResponse(Box<ExtensionNumberResponseView<'a>>)
ListServicesResponse(Box<ListServiceResponseView<'a>>)
ErrorResponse(Box<ErrorResponseView<'a>>)
Trait Implementations§
Source§impl<'a> Clone for MessageResponse<'a>
impl<'a> Clone for MessageResponse<'a>
Source§fn clone(&self) -> MessageResponse<'a>
fn clone(&self) -> MessageResponse<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for MessageResponse<'a>
impl<'a> RefUnwindSafe for MessageResponse<'a>
impl<'a> Send for MessageResponse<'a>
impl<'a> Sync for MessageResponse<'a>
impl<'a> Unpin for MessageResponse<'a>
impl<'a> UnsafeUnpin for MessageResponse<'a>
impl<'a> UnwindSafe for MessageResponse<'a>
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