pub enum StreamOpeningError {
NotConnected,
Refused,
}Expand description
An error that arise when opening a new stream.
Variants§
NotConnected
Connection has been dropped.
Refused
The peer refused the stream, stopping it during initialization.
Trait Implementations§
Source§impl Clone for StreamOpeningError
impl Clone for StreamOpeningError
Source§fn clone(&self) -> StreamOpeningError
fn clone(&self) -> StreamOpeningError
Returns a duplicate 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 StreamOpeningError
impl Debug for StreamOpeningError
Source§impl Display for StreamOpeningError
impl Display for StreamOpeningError
Source§impl Error for StreamOpeningError
impl Error for StreamOpeningError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for StreamOpeningError
impl PartialEq for StreamOpeningError
impl Eq for StreamOpeningError
impl StructuralPartialEq for StreamOpeningError
Auto Trait Implementations§
impl Freeze for StreamOpeningError
impl RefUnwindSafe for StreamOpeningError
impl Send for StreamOpeningError
impl Sync for StreamOpeningError
impl Unpin for StreamOpeningError
impl UnwindSafe for StreamOpeningError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<S> IntoConnectOptions for Swhere
S: ToString,
impl<S> IntoConnectOptions for Swhere
S: ToString,
Source§fn into_options(self) -> ConnectOptions
fn into_options(self) -> ConnectOptions
Perform value-to-value conversion into
ConnectOptions.