#[non_exhaustive]pub struct DecodedHandle {
pub tag: BackendTag,
pub payload: HandlePayload,
}Expand description
Output of decode — the decoded HandlePayload plus the
BackendTag embedded in the opaque buffer (or inferred from the
v1 compat path).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tag: BackendTag§payload: HandlePayloadImplementations§
Source§impl DecodedHandle
impl DecodedHandle
pub fn new(tag: BackendTag, payload: HandlePayload) -> Self
Trait Implementations§
Source§impl Clone for DecodedHandle
impl Clone for DecodedHandle
Source§fn clone(&self) -> DecodedHandle
fn clone(&self) -> DecodedHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecodedHandle
impl Debug for DecodedHandle
Source§impl PartialEq for DecodedHandle
impl PartialEq for DecodedHandle
impl Eq for DecodedHandle
impl StructuralPartialEq for DecodedHandle
Auto Trait Implementations§
impl Freeze for DecodedHandle
impl RefUnwindSafe for DecodedHandle
impl Send for DecodedHandle
impl Sync for DecodedHandle
impl Unpin for DecodedHandle
impl UnsafeUnpin for DecodedHandle
impl UnwindSafe for DecodedHandle
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