Struct fluvio::metadata::core::MetadataContext
source · pub struct MetadataContext<C> { /* private fields */ }
Implementations§
source§impl<C> MetadataContext<C>
impl<C> MetadataContext<C>
pub fn new(item: C) -> MetadataContext<C>
pub fn item(&self) -> &C
pub fn item_mut(&mut self) -> &mut C
pub fn set_item(&mut self, item: C)
pub fn item_owned(self) -> C
pub fn into_inner(self) -> C
source§impl<C> MetadataContext<C>where
C: MetadataItem,
impl<C> MetadataContext<C>where
C: MetadataItem,
pub fn create_child(&self) -> MetadataContext<C>
pub fn set_labels<T>(self, labels: Vec<(T, T)>) -> MetadataContext<C>
source§impl<C> MetadataContext<C>where
C: MetadataRevExtension,
impl<C> MetadataContext<C>where
C: MetadataRevExtension,
pub fn next_rev(&self) -> MetadataContext<C>
Trait Implementations§
source§impl<C> Clone for MetadataContext<C>where
C: Clone,
impl<C> Clone for MetadataContext<C>where
C: Clone,
source§fn clone(&self) -> MetadataContext<C>
fn clone(&self) -> MetadataContext<C>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<C> Debug for MetadataContext<C>where
C: Debug,
impl<C> Debug for MetadataContext<C>where
C: Debug,
source§impl<C> Default for MetadataContext<C>where
C: Default,
impl<C> Default for MetadataContext<C>where
C: Default,
source§fn default() -> MetadataContext<C>
fn default() -> MetadataContext<C>
Returns the “default value” for a type. Read more
source§impl<C> Display for MetadataContext<C>where
C: MetadataItem,
impl<C> Display for MetadataContext<C>where
C: MetadataItem,
source§impl<C> From<C> for MetadataContext<C>
impl<C> From<C> for MetadataContext<C>
source§fn from(item: C) -> MetadataContext<C>
fn from(item: C) -> MetadataContext<C>
Converts to this type from the input type.
source§impl<C> PartialEq for MetadataContext<C>where
C: PartialEq,
impl<C> PartialEq for MetadataContext<C>where
C: PartialEq,
source§fn eq(&self, other: &MetadataContext<C>) -> bool
fn eq(&self, other: &MetadataContext<C>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<C> Eq for MetadataContext<C>where
C: Eq,
impl<C> StructuralPartialEq for MetadataContext<C>
Auto Trait Implementations§
impl<C> Freeze for MetadataContext<C>where
C: Freeze,
impl<C> RefUnwindSafe for MetadataContext<C>where
C: RefUnwindSafe,
impl<C> Send for MetadataContext<C>where
C: Send,
impl<C> Sync for MetadataContext<C>where
C: Sync,
impl<C> Unpin for MetadataContext<C>where
C: Unpin,
impl<C> UnwindSafe for MetadataContext<C>where
C: 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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> FromFd for T
impl<T> FromFd for T
source§impl<T> FromFilelike for T
impl<T> FromFilelike for T
source§fn from_filelike(owned: OwnedFd) -> T
fn from_filelike(owned: OwnedFd) -> T
Constructs a new instance of
Self
from the given filelike object. Read moresource§fn from_into_filelike<Owned>(owned: Owned) -> Twhere
Owned: IntoFilelike,
fn from_into_filelike<Owned>(owned: Owned) -> Twhere
Owned: IntoFilelike,
Constructs a new instance of
Self
from the given filelike object
converted from into_owned
. Read moresource§impl<T> FromSocketlike for T
impl<T> FromSocketlike for T
source§fn from_socketlike(owned: OwnedFd) -> T
fn from_socketlike(owned: OwnedFd) -> T
Constructs a new instance of
Self
from the given socketlike object.source§fn from_into_socketlike<Owned>(owned: Owned) -> Twhere
Owned: IntoSocketlike,
fn from_into_socketlike<Owned>(owned: Owned) -> Twhere
Owned: IntoSocketlike,
Constructs a new instance of
Self
from the given socketlike object
converted from into_owned
.