pub struct SerializerId(/* private fields */);Expand description
Stable serializer identifier stored with every serialized payload.
Values are durable protocol ids: changing the id for an existing serializer makes previously stored payloads undecodable unless the old id remains registered.
Implementations§
Trait Implementations§
Source§impl Clone for SerializerId
impl Clone for SerializerId
impl Copy for SerializerId
Source§impl Debug for SerializerId
impl Debug for SerializerId
Source§impl Default for SerializerId
impl Default for SerializerId
Source§impl Display for SerializerId
impl Display for SerializerId
impl Eq for SerializerId
Source§impl From<SerializerId> for u32
impl From<SerializerId> for u32
Source§fn from(value: SerializerId) -> Self
fn from(value: SerializerId) -> Self
Converts to this type from the input type.
Source§impl From<u32> for SerializerId
impl From<u32> for SerializerId
Source§impl Hash for SerializerId
impl Hash for SerializerId
Source§impl Ord for SerializerId
impl Ord for SerializerId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SerializerId
impl PartialEq for SerializerId
Source§impl PartialOrd for SerializerId
impl PartialOrd for SerializerId
impl StructuralPartialEq for SerializerId
Auto Trait Implementations§
impl Freeze for SerializerId
impl RefUnwindSafe for SerializerId
impl Send for SerializerId
impl Sync for SerializerId
impl Unpin for SerializerId
impl UnsafeUnpin for SerializerId
impl UnwindSafe for SerializerId
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<S> IntoEventHandlerResult<S> for S
impl<S> IntoEventHandlerResult<S> for S
Source§fn into_event_handler_result(self) -> Result<S, PersistenceError>
fn into_event_handler_result(self) -> Result<S, PersistenceError>
Converts this handler output into the runtime result.
impl<T> JobKey for T
Source§impl<T> Message for T
impl<T> Message for T
Source§fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
Convert a BoxedMessage to this concrete type
Source§fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
Convert this message to a BoxedMessage