Struct infinitree::object::PoolRef

source ·
pub struct PoolRef<O> { /* private fields */ }

Trait Implementations§

source§

impl<O> AsMut<O> for PoolRef<O>

source§

fn as_mut(&mut self) -> &mut O

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

impl<O> AsRef<O> for PoolRef<O>

source§

fn as_ref(&self) -> &O

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

impl<O> Deref for PoolRef<O>

§

type Target = O

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<O> DerefMut for PoolRef<O>

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl<O> Drop for PoolRef<O>

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<O> From<O> for PoolRef<O>

source§

fn from(instance: O) -> Self

Converts to this type from the input type.
source§

impl Reader for PoolRef<AEADReader>

source§

fn read_chunk<'target>( &mut self, pointer: &ChunkPointer, target: &'target mut [u8] ) -> Result<&'target [u8]>

Auto Trait Implementations§

§

impl<O> RefUnwindSafe for PoolRef<O>where O: RefUnwindSafe,

§

impl<O> Send for PoolRef<O>where O: Send,

§

impl<O> Sync for PoolRef<O>where O: Send + Sync,

§

impl<O> Unpin for PoolRef<O>where O: Unpin,

§

impl<O> UnwindSafe for PoolRef<O>where O: UnwindSafe,

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<!> for T

source§

fn from(t: !) -> T

Converts to this type from the input type.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToHex for Twhere T: AsRef<[u8]>,

source§

fn encode_hex<U>(&self) -> Uwhere U: FromIterator<char>,

Encode the hex strict representing self into the result. Lower case letters are used (e.g. f9b4ca)
source§

fn encode_hex_upper<U>(&self) -> Uwhere U: FromIterator<char>,

Encode the hex strict representing self into the result. Upper case letters are used (e.g. F9B4CA)
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V