pub struct StreamAttribute<'a> { /* private fields */ }Expand description
A namespace-resolved attribute borrowed from a streaming start event.
Implementations§
Source§impl<'a> StreamAttribute<'a>
impl<'a> StreamAttribute<'a>
Sourcepub fn name(&self) -> Result<StreamName<'_>, Error>
pub fn name(&self) -> Result<StreamName<'_>, Error>
Resolves the attribute’s qualified, local, and namespace names.
§Errors
Returns an error when its namespace cannot be resolved.
Auto Trait Implementations§
impl<'a> Freeze for StreamAttribute<'a>
impl<'a> RefUnwindSafe for StreamAttribute<'a>
impl<'a> Send for StreamAttribute<'a>
impl<'a> Sync for StreamAttribute<'a>
impl<'a> Unpin for StreamAttribute<'a>
impl<'a> UnwindSafe for StreamAttribute<'a>
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