pub struct ValueCodecRegistration { /* private fields */ }Expand description
One statically linked value-codec implementation.
Implementations§
Source§impl ValueCodecRegistration
impl ValueCodecRegistration
Sourcepub const fn id(&self) -> ValueCodecId
pub const fn id(&self) -> ValueCodecId
Returns the stable value-codec ID.
Sourcepub const fn descriptor(&self) -> &'static ValueCodecDescriptor
pub const fn descriptor(&self) -> &'static ValueCodecDescriptor
Returns the executable descriptor.
Sourcepub const fn source(&self) -> ValueCodecRegistrationSource
pub const fn source(&self) -> ValueCodecRegistrationSource
Returns the linked source location.
Trait Implementations§
Source§impl Clone for ValueCodecRegistration
impl Clone for ValueCodecRegistration
Source§fn clone(&self) -> ValueCodecRegistration
fn clone(&self) -> ValueCodecRegistration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ValueCodecRegistration
Auto Trait Implementations§
impl Freeze for ValueCodecRegistration
impl RefUnwindSafe for ValueCodecRegistration
impl Send for ValueCodecRegistration
impl Sync for ValueCodecRegistration
impl Unpin for ValueCodecRegistration
impl UnsafeUnpin for ValueCodecRegistration
impl UnwindSafe for ValueCodecRegistration
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