pub struct PreFetchMessage {
pub index: u16,
}
Fields§
§index: u16
Trait Implementations§
Source§impl Clone for PreFetchMessage
impl Clone for PreFetchMessage
Source§fn clone(&self) -> PreFetchMessage
fn clone(&self) -> PreFetchMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PreFetchMessage
impl Debug for PreFetchMessage
Source§impl<'de> Deserialize<'de> for PreFetchMessage
impl<'de> Deserialize<'de> for PreFetchMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Encode for PreFetchMessage
impl Encode for PreFetchMessage
fn encode( &self, stream: &mut BitWriteStream<'_, LittleEndian>, state: &ParserState, ) -> Result<()>
Source§impl<'a> Parse<'a> for PreFetchMessage
impl<'a> Parse<'a> for PreFetchMessage
Source§impl<'a> ParseBitSkip<'a> for PreFetchMessage
impl<'a> ParseBitSkip<'a> for PreFetchMessage
fn parse_skip(stream: &mut Stream<'a>, state: &ParserState) -> Result<()>
Source§impl PartialEq for PreFetchMessage
impl PartialEq for PreFetchMessage
Source§impl Serialize for PreFetchMessage
impl Serialize for PreFetchMessage
impl StructuralPartialEq for PreFetchMessage
Auto Trait Implementations§
impl Freeze for PreFetchMessage
impl RefUnwindSafe for PreFetchMessage
impl Send for PreFetchMessage
impl Sync for PreFetchMessage
impl Unpin for PreFetchMessage
impl UnwindSafe for PreFetchMessage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more