NodeAttributes

Struct NodeAttributes 

Source
pub struct NodeAttributes<T0, T1, T2, T3, T4, T5, T6> {
    pub mode: T0,
    pub id: T1,
    pub content_size: T2,
    pub storage_size: T3,
    pub link_count: T4,
    pub creation_time: T5,
    pub modification_time: T6,
}

Fields§

§mode: T0§id: T1§content_size: T2§storage_size: T3§link_count: T4§creation_time: T5§modification_time: T6

Trait Implementations§

Source§

impl<___E, T0, T1, T2, T3, T4, T5, T6> Encode<NodeAttributes, ___E> for NodeAttributes<T0, T1, T2, T3, T4, T5, T6>
where ___E: InternalHandleEncoder + ?Sized, T0: Encode<WireU32, ___E>, T1: Encode<WireU64, ___E>, T2: Encode<WireU64, ___E>, T3: Encode<WireU64, ___E>, T4: Encode<WireU64, ___E>, T5: Encode<WireU64, ___E>, T6: Encode<WireU64, ___E>,

Source§

fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<NodeAttributes>, _: (), ) -> Result<(), EncodeError>

Encodes this value into an encoder and output.
§

const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _

Whether the conversion from Self to W is equivalent to copying the raw bytes of Self. Read more

Auto Trait Implementations§

§

impl<T0, T1, T2, T3, T4, T5, T6> Freeze for NodeAttributes<T0, T1, T2, T3, T4, T5, T6>
where T0: Freeze, T1: Freeze, T2: Freeze, T3: Freeze, T4: Freeze, T5: Freeze, T6: Freeze,

§

impl<T0, T1, T2, T3, T4, T5, T6> RefUnwindSafe for NodeAttributes<T0, T1, T2, T3, T4, T5, T6>

§

impl<T0, T1, T2, T3, T4, T5, T6> Send for NodeAttributes<T0, T1, T2, T3, T4, T5, T6>
where T0: Send, T1: Send, T2: Send, T3: Send, T4: Send, T5: Send, T6: Send,

§

impl<T0, T1, T2, T3, T4, T5, T6> Sync for NodeAttributes<T0, T1, T2, T3, T4, T5, T6>
where T0: Sync, T1: Sync, T2: Sync, T3: Sync, T4: Sync, T5: Sync, T6: Sync,

§

impl<T0, T1, T2, T3, T4, T5, T6> Unpin for NodeAttributes<T0, T1, T2, T3, T4, T5, T6>
where T0: Unpin, T1: Unpin, T2: Unpin, T3: Unpin, T4: Unpin, T5: Unpin, T6: Unpin,

§

impl<T0, T1, T2, T3, T4, T5, T6> UnwindSafe for NodeAttributes<T0, T1, T2, T3, T4, T5, T6>
where T0: UnwindSafe, T1: UnwindSafe, T2: UnwindSafe, T3: UnwindSafe, T4: UnwindSafe, T5: UnwindSafe, T6: UnwindSafe,

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T, D> Encode<Ambiguous1, D> for T
where D: ResourceDialect,

Source§

unsafe fn encode( self, _encoder: &mut Encoder<'_, D>, _offset: usize, _depth: Depth, ) -> Result<(), Error>

Encodes the object into the encoder’s buffers. Any handles stored in the object are swapped for Handle::INVALID. Read more
Source§

impl<T, D> Encode<Ambiguous2, D> for T
where D: ResourceDialect,

Source§

unsafe fn encode( self, _encoder: &mut Encoder<'_, D>, _offset: usize, _depth: Depth, ) -> Result<(), Error>

Encodes the object into the encoder’s buffers. Any handles stored in the object are swapped for Handle::INVALID. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> InstanceFromServiceTransport<T> for T

§

fn from_service_transport(handle: T) -> T

Converts the given service transport handle of type T to [Self]
Source§

impl<T, U> Into<U> for T
where 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.

§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

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

Source§

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 T
where U: TryFrom<T>,

Source§

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<E> RunsTransport<Mpsc> for E

§

impl<E> RunsTransport<Mpsc> for E
where E: RunsTransport<Mpsc>,