#[repr(transparent)]
pub struct Handle(_);

Implementations§

source§

impl Handle

source

pub const fn into_inner(&self) -> &[u8]

Trait Implementations§

source§

impl AsRef<Handle> for HandleOwned

source§

fn as_ref(&self) -> &Handle

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<Handle> for HandleOwned

source§

fn borrow(&self) -> &Handle

Immutably borrows from an owned value. Read more
source§

impl Debug for Handle

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<Handle> for Handle

source§

fn eq(&self, other: &Handle) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Handle

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for Handle

§

type Owned = HandleOwned

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl Eq for Handle

source§

impl StructuralEq for Handle

source§

impl StructuralPartialEq for Handle

Auto Trait Implementations§

§

impl RefUnwindSafe for Handle

§

impl Send for Handle

§

impl !Sized for Handle

§

impl Sync for Handle

§

impl Unpin for Handle

§

impl UnwindSafe for Handle

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more