pub enum ConsoleError {
Tap(TapError),
Server {
subject: String,
source: ServerError,
},
Encode {
record: &'static str,
source: Error,
},
Clock {
reason: String,
},
TapLimit {
subject: String,
limit: usize,
},
TopologyRevisionOverflow,
EmptyDevice,
}Expand description
A console stream operation’s failure.
Variants§
Tap(TapError)
A tap or feed lock was poisoned.
Server
Building the topology or publishing a record failed.
Encode
A record could not be serialised.
Fields
Clock
The wall clock could not give the console a time.
TapLimit
A new tap would pass the live-tap limit (CONSOLE_TAP_LIMIT_REFUSED).
TopologyRevisionOverflow
The topology feed cannot assign another ordered revision.
EmptyDevice
The device name is empty, so liminal.<device> would be meaningless.
Trait Implementations§
Source§impl Debug for ConsoleError
impl Debug for ConsoleError
Source§impl Display for ConsoleError
impl Display for ConsoleError
Source§impl Error for ConsoleError
impl Error for ConsoleError
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 !RefUnwindSafe for ConsoleError
impl !UnwindSafe for ConsoleError
impl Freeze for ConsoleError
impl Send for ConsoleError
impl Sync for ConsoleError
impl Unpin for ConsoleError
impl UnsafeUnpin for ConsoleError
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