Enum srt_protocol::options::StreamIdError
source · pub enum StreamIdError {
FromUtf8(FromUtf8Error),
Length(usize),
}Variants§
FromUtf8(FromUtf8Error)
Length(usize)
Trait Implementations§
source§impl Clone for StreamIdError
impl Clone for StreamIdError
source§fn clone(&self) -> StreamIdError
fn clone(&self) -> StreamIdError
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 StreamIdError
impl Debug for StreamIdError
source§impl Display for StreamIdError
impl Display for StreamIdError
source§impl Error for StreamIdError
impl Error for StreamIdError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<StreamIdError> for Error
impl From<StreamIdError> for Error
source§fn from(error: StreamIdError) -> Self
fn from(error: StreamIdError) -> Self
Converts to this type from the input type.
source§impl PartialEq<StreamIdError> for StreamIdError
impl PartialEq<StreamIdError> for StreamIdError
source§fn eq(&self, other: &StreamIdError) -> bool
fn eq(&self, other: &StreamIdError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for StreamIdError
impl StructuralEq for StreamIdError
impl StructuralPartialEq for StreamIdError
Auto Trait Implementations§
impl RefUnwindSafe for StreamIdError
impl Send for StreamIdError
impl Sync for StreamIdError
impl Unpin for StreamIdError
impl UnwindSafe for StreamIdError
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.