pub struct Raw<T: Packable> { /* private fields */ }
Expand description
Represents a type as raw bytes.
Implementations
Trait Implementations
sourceimpl From<Raw<Payload>> for RawMilestone
impl From<Raw<Payload>> for RawMilestone
sourceimpl From<RawMilestone> for Raw<Payload>
impl From<RawMilestone> for Raw<Payload>
sourcefn from(value: RawMilestone) -> Self
fn from(value: RawMilestone) -> Self
Converts to this type from the input type.
sourceimpl<T: PartialEq + Packable> PartialEq<Raw<T>> for Raw<T>
impl<T: PartialEq + Packable> PartialEq<Raw<T>> for Raw<T>
impl<T: Eq + Packable> Eq for Raw<T>
impl<T: Packable> StructuralEq for Raw<T>
impl<T: Packable> StructuralPartialEq for Raw<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Raw<T>where
T: RefUnwindSafe,
impl<T> Send for Raw<T>where
T: Send,
impl<T> Sync for Raw<T>where
T: Sync,
impl<T> Unpin for Raw<T>where
T: Unpin,
impl<T> UnwindSafe for Raw<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request