pub struct Response<'a> {
pub resp_type: OneOfresp_type<'a>,
}
Fields§
§resp_type: OneOfresp_type<'a>
Trait Implementations§
source§impl<'a> MessageRead<'a> for Response<'a>
impl<'a> MessageRead<'a> for Response<'a>
source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moresource§impl<'a> MessageWrite for Response<'a>
impl<'a> MessageWrite for Response<'a>
source§impl<'a> PartialEq for Response<'a>
impl<'a> PartialEq for Response<'a>
impl<'a> StructuralPartialEq for Response<'a>
Auto Trait Implementations§
impl<'a> Freeze for Response<'a>
impl<'a> RefUnwindSafe for Response<'a>
impl<'a> Send for Response<'a>
impl<'a> Sync for Response<'a>
impl<'a> Unpin for Response<'a>
impl<'a> UnwindSafe for Response<'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