pub struct Attribute<const ID: u64, O, Data> { /* private fields */ }Expand description
A configfs attribute.
An attribute appears as a file in configfs, inside a folder that represent the group that the attribute belongs to.
Implementations§
Trait Implementations§
impl<const ID: u64, O, Data> Send for Attribute<ID, O, Data>
impl<const ID: u64, O, Data> Sync for Attribute<ID, O, Data>
Auto Trait Implementations§
impl<const ID: u64, O, Data> !Freeze for Attribute<ID, O, Data>
impl<const ID: u64, O, Data> !RefUnwindSafe for Attribute<ID, O, Data>
impl<const ID: u64, O, Data> !Unpin for Attribute<ID, O, Data>
impl<const ID: u64, O, Data> !UnsafeUnpin for Attribute<ID, O, Data>
impl<const ID: u64, O, Data> UnwindSafe for Attribute<ID, O, Data>where
O: UnwindSafe,
Data: 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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.