Struct relay_protocol::SerializableAnnotated
source · pub struct SerializableAnnotated<'a, T>(pub &'a Annotated<T>);
Expand description
An utility to serialize annotated objects with payload.
Tuple Fields§
§0: &'a Annotated<T>
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for SerializableAnnotated<'a, T>
impl<'a, T> RefUnwindSafe for SerializableAnnotated<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for SerializableAnnotated<'a, T>where
T: Sync,
impl<'a, T> Sync for SerializableAnnotated<'a, T>where
T: Sync,
impl<'a, T> Unpin for SerializableAnnotated<'a, T>
impl<'a, T> UnwindSafe for SerializableAnnotated<'a, T>where
T: RefUnwindSafe,
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