Enum rdkafka::admin::OwnedResourceSpecifier
source · pub enum OwnedResourceSpecifier {
Topic(String),
Group(String),
Broker(i32),
}
Expand description
A ResourceSpecifier
that owns its data.
Variants§
Topic(String)
A topic resource, identified by its name.
Group(String)
A group resource, identified by its ID.
Broker(i32)
A broker resource, identified by its ID.
Trait Implementations§
source§impl Debug for OwnedResourceSpecifier
impl Debug for OwnedResourceSpecifier
source§impl PartialEq for OwnedResourceSpecifier
impl PartialEq for OwnedResourceSpecifier
impl Eq for OwnedResourceSpecifier
impl StructuralPartialEq for OwnedResourceSpecifier
Auto Trait Implementations§
impl Freeze for OwnedResourceSpecifier
impl RefUnwindSafe for OwnedResourceSpecifier
impl Send for OwnedResourceSpecifier
impl Sync for OwnedResourceSpecifier
impl Unpin for OwnedResourceSpecifier
impl UnwindSafe for OwnedResourceSpecifier
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.