pub struct SafeAad { /* private fields */ }
Implementations§
Source§impl SafeAad
impl SafeAad
pub fn iter_components(&self) -> impl Iterator<Item = SafeAadItemRef<'_>>
pub fn extract_component<C: Component>(&self) -> MlsSpecResult<Option<C>>
Sourcepub fn insert_or_update_component<C: Component>(
&mut self,
component: &C,
) -> MlsSpecResult<bool>
pub fn insert_or_update_component<C: Component>( &mut self, component: &C, ) -> MlsSpecResult<bool>
Returns true
if newly inserted
Trait Implementations§
Source§impl Deserialize for SafeAad
impl Deserialize for SafeAad
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
This function deserializes the
bytes
from the provided a std::io::Read
and returns the populated struct. Read moreimpl Eq for SafeAad
impl StructuralPartialEq for SafeAad
Auto Trait Implementations§
impl Freeze for SafeAad
impl RefUnwindSafe for SafeAad
impl Send for SafeAad
impl Sync for SafeAad
impl Unpin for SafeAad
impl UnwindSafe for SafeAad
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