pub struct Request<'a> {
pub req_type: OneOfreq_type<'a>,
}
Fields§
§req_type: OneOfreq_type<'a>
Trait Implementations§
source§impl<'a> MessageRead<'a> for Request<'a>
impl<'a> MessageRead<'a> for Request<'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 Request<'a>
impl<'a> MessageWrite for Request<'a>
source§impl<'a> PartialEq for Request<'a>
impl<'a> PartialEq for Request<'a>
impl<'a> StructuralPartialEq for Request<'a>
Auto Trait Implementations§
impl<'a> Freeze for Request<'a>
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> Send for Request<'a>
impl<'a> Sync for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnwindSafe for Request<'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