pub struct StreamName(/* private fields */);Expand description
The user-facing name of a stream within a branch (UTF-8, non-empty, no
NUL bytes, at most StreamName::MAX_BYTES). The engine maps it to a
stable compact StreamId internally.
Implementations§
Source§impl StreamName
impl StreamName
Trait Implementations§
Source§impl Clone for StreamName
impl Clone for StreamName
Source§fn clone(&self) -> StreamName
fn clone(&self) -> StreamName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamName
impl Debug for StreamName
impl Eq for StreamName
Source§impl Hash for StreamName
impl Hash for StreamName
Source§impl Ord for StreamName
impl Ord for StreamName
Source§fn cmp(&self, other: &StreamName) -> Ordering
fn cmp(&self, other: &StreamName) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StreamName
impl PartialEq for StreamName
Source§impl PartialOrd for StreamName
impl PartialOrd for StreamName
impl StructuralPartialEq for StreamName
Auto Trait Implementations§
impl Freeze for StreamName
impl RefUnwindSafe for StreamName
impl Send for StreamName
impl Sync for StreamName
impl Unpin for StreamName
impl UnsafeUnpin for StreamName
impl UnwindSafe for StreamName
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