pub trait BorrowMetadata: Sync {
type Metadata: Sync + 'static;
// Required method
fn borrow_metadata(&self) -> &Self::Metadata;
}
Expand description
A trait for borrowing metadata.
Required Associated Types§
Required Methods§
Sourcefn borrow_metadata(&self) -> &Self::Metadata
fn borrow_metadata(&self) -> &Self::Metadata
Borrow the metadata.
Implementations on Foreign Types§
Source§impl<B: BorrowMetadata + Send> BorrowMetadata for Arc<B>
Available on non-crate feature portable-atomic
or crate feature portable-atomic-util
only.
impl<B: BorrowMetadata + Send> BorrowMetadata for Arc<B>
Available on non-crate feature
portable-atomic
or crate feature portable-atomic-util
only.