pub struct StreamMarkerId(/* private fields */);
Available on crate feature
stream
only.Expand description
A stream marker ID
Implementations§
Source§impl StreamMarkerId
impl StreamMarkerId
Sourcepub fn from_static(raw: &'static str) -> Self
pub fn from_static(raw: &'static str) -> Self
Constructs a newStreamMarkerIdfrom a static reference
Sourcepub fn into_boxed_ref(self) -> Box<StreamMarkerIdRef>
pub fn into_boxed_ref(self) -> Box<StreamMarkerIdRef>
Converts this StreamMarkerId
into a Box<StreamMarkerIdRef>
This will drop any excess capacity.
Methods from Deref<Target = StreamMarkerIdRef>§
Sourcepub fn as_cow(&self) -> Cow<'_, StreamMarkerIdRef>
pub fn as_cow(&self) -> Cow<'_, StreamMarkerIdRef>
Trait Implementations§
Source§impl AsRef<StreamMarkerIdRef> for StreamMarkerId
impl AsRef<StreamMarkerIdRef> for StreamMarkerId
Source§fn as_ref(&self) -> &StreamMarkerIdRef
fn as_ref(&self) -> &StreamMarkerIdRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<str> for StreamMarkerId
impl AsRef<str> for StreamMarkerId
Source§impl Borrow<StreamMarkerIdRef> for StreamMarkerId
impl Borrow<StreamMarkerIdRef> for StreamMarkerId
Source§fn borrow(&self) -> &StreamMarkerIdRef
fn borrow(&self) -> &StreamMarkerIdRef
Immutably borrows from an owned value. Read more
Source§impl Borrow<str> for StreamMarkerId
impl Borrow<str> for StreamMarkerId
Source§impl Clone for StreamMarkerId
impl Clone for StreamMarkerId
Source§fn clone(&self) -> StreamMarkerId
fn clone(&self) -> StreamMarkerId
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 Debug for StreamMarkerId
impl Debug for StreamMarkerId
Source§impl Deref for StreamMarkerId
impl Deref for StreamMarkerId
Source§impl<'de> Deserialize<'de> for StreamMarkerId
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for StreamMarkerId
Available on crate feature
serde
only.Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for StreamMarkerId
impl Display for StreamMarkerId
Source§impl<'a> From<&'a StreamMarkerId> for &'a StreamMarkerIdRef
impl<'a> From<&'a StreamMarkerId> for &'a StreamMarkerIdRef
Source§fn from(owned: &'a StreamMarkerId) -> Self
fn from(owned: &'a StreamMarkerId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a StreamMarkerId> for Collection<'a, StreamMarkerId>
impl<'a> From<&'a StreamMarkerId> for Collection<'a, StreamMarkerId>
Source§fn from(v: &'a StreamMarkerId) -> Self
fn from(v: &'a StreamMarkerId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a StreamMarkerId> for Cow<'a, StreamMarkerIdRef>
impl<'a> From<&'a StreamMarkerId> for Cow<'a, StreamMarkerIdRef>
Source§fn from(owned: &'a StreamMarkerId) -> Self
fn from(owned: &'a StreamMarkerId) -> Self
Converts to this type from the input type.
Source§impl From<&StreamMarkerIdRef> for StreamMarkerId
impl From<&StreamMarkerIdRef> for StreamMarkerId
Source§fn from(s: &StreamMarkerIdRef) -> Self
fn from(s: &StreamMarkerIdRef) -> Self
Converts to this type from the input type.
Source§impl From<&str> for StreamMarkerId
impl From<&str> for StreamMarkerId
Source§impl From<Box<StreamMarkerIdRef>> for StreamMarkerId
impl From<Box<StreamMarkerIdRef>> for StreamMarkerId
Source§fn from(r: Box<StreamMarkerIdRef>) -> Self
fn from(r: Box<StreamMarkerIdRef>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Cow<'a, StreamMarkerIdRef>> for StreamMarkerId
impl<'a> From<Cow<'a, StreamMarkerIdRef>> for StreamMarkerId
Source§fn from(r: Cow<'a, StreamMarkerIdRef>) -> Self
fn from(r: Cow<'a, StreamMarkerIdRef>) -> Self
Converts to this type from the input type.
Source§impl From<StreamMarkerId> for Box<StreamMarkerIdRef>
impl From<StreamMarkerId> for Box<StreamMarkerIdRef>
Source§fn from(r: StreamMarkerId) -> Self
fn from(r: StreamMarkerId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<StreamMarkerId> for Cow<'a, StreamMarkerIdRef>
impl<'a> From<StreamMarkerId> for Cow<'a, StreamMarkerIdRef>
Source§fn from(owned: StreamMarkerId) -> Self
fn from(owned: StreamMarkerId) -> Self
Converts to this type from the input type.
Source§impl From<StreamMarkerId> for String
impl From<StreamMarkerId> for String
Source§fn from(s: StreamMarkerId) -> Self
fn from(s: StreamMarkerId) -> Self
Converts to this type from the input type.
Source§impl From<String> for StreamMarkerId
impl From<String> for StreamMarkerId
Source§impl FromStr for StreamMarkerId
impl FromStr for StreamMarkerId
Source§impl Hash for StreamMarkerId
impl Hash for StreamMarkerId
Source§impl<'a> IntoCow<'a, StreamMarkerIdRef> for &'a StreamMarkerId
impl<'a> IntoCow<'a, StreamMarkerIdRef> for &'a StreamMarkerId
Source§fn into_cow(self) -> Cow<'a, StreamMarkerIdRef>
fn into_cow(self) -> Cow<'a, StreamMarkerIdRef>
Make the cow with proper ownership, muu
Source§impl<'a> IntoCow<'a, StreamMarkerIdRef> for StreamMarkerId
impl<'a> IntoCow<'a, StreamMarkerIdRef> for StreamMarkerId
Source§fn into_cow(self) -> Cow<'a, StreamMarkerIdRef>
fn into_cow(self) -> Cow<'a, StreamMarkerIdRef>
Make the cow with proper ownership, muu
Source§impl Ord for StreamMarkerId
impl Ord for StreamMarkerId
Source§impl PartialEq<&StreamMarkerId> for StreamMarkerId
impl PartialEq<&StreamMarkerId> for StreamMarkerId
Source§impl PartialEq<&StreamMarkerIdRef> for StreamMarkerId
impl PartialEq<&StreamMarkerIdRef> for StreamMarkerId
Source§impl PartialEq<StreamMarkerId> for &StreamMarkerIdRef
impl PartialEq<StreamMarkerId> for &StreamMarkerIdRef
Source§impl PartialEq<StreamMarkerId> for StreamMarkerIdRef
impl PartialEq<StreamMarkerId> for StreamMarkerIdRef
Source§impl PartialEq<StreamMarkerIdRef> for StreamMarkerId
impl PartialEq<StreamMarkerIdRef> for StreamMarkerId
Source§impl PartialEq for StreamMarkerId
impl PartialEq for StreamMarkerId
Source§impl PartialOrd for StreamMarkerId
impl PartialOrd for StreamMarkerId
Source§impl Serialize for StreamMarkerId
Available on crate feature serde
only.
impl Serialize for StreamMarkerId
Available on crate feature
serde
only.impl Eq for StreamMarkerId
impl StructuralPartialEq for StreamMarkerId
Auto Trait Implementations§
impl Freeze for StreamMarkerId
impl RefUnwindSafe for StreamMarkerId
impl Send for StreamMarkerId
impl Sync for StreamMarkerId
impl Unpin for StreamMarkerId
impl UnwindSafe for StreamMarkerId
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)