pub enum IncomingKind<T> {
Content(T),
Tombstone,
Malformed,
}
Expand description
The “kind” of incoming content after deserializing it.
Variants§
Content(T)
A good, live T.
Tombstone
A record that used to be a T but has been replaced with a tombstone.
Malformed
Either not JSON, or can’t be made into a T.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for IncomingKind<T>where
T: Freeze,
impl<T> RefUnwindSafe for IncomingKind<T>where
T: RefUnwindSafe,
impl<T> Send for IncomingKind<T>where
T: Send,
impl<T> Sync for IncomingKind<T>where
T: Sync,
impl<T> Unpin for IncomingKind<T>where
T: Unpin,
impl<T> UnwindSafe for IncomingKind<T>where
T: UnwindSafe,
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more