pub struct StreamGotExhausted;
Expand description
An error that stream has no data to write. Note this is currently used as to mean sucessful termination.
Trait Implementations§
Source§impl Debug for StreamGotExhausted
impl Debug for StreamGotExhausted
Source§impl Display for StreamGotExhausted
impl Display for StreamGotExhausted
Source§impl Error for StreamGotExhausted
impl Error for StreamGotExhausted
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()
Auto Trait Implementations§
impl Freeze for StreamGotExhausted
impl RefUnwindSafe for StreamGotExhausted
impl Send for StreamGotExhausted
impl Sync for StreamGotExhausted
impl Unpin for StreamGotExhausted
impl UnwindSafe for StreamGotExhausted
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