pub enum StreamPublicationError {
Revoked,
Oversized,
Capacity,
Sequence,
Stamp,
Backlog,
NotReady,
Payload(PayloadError),
}Variants§
Trait Implementations§
Source§impl Debug for StreamPublicationError
impl Debug for StreamPublicationError
Source§impl Display for StreamPublicationError
impl Display for StreamPublicationError
impl Eq for StreamPublicationError
Source§impl Error for StreamPublicationError
impl Error for StreamPublicationError
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 From<PayloadError> for StreamPublicationError
impl From<PayloadError> for StreamPublicationError
Source§fn from(source: PayloadError) -> Self
fn from(source: PayloadError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StreamPublicationError
impl PartialEq for StreamPublicationError
impl StructuralPartialEq for StreamPublicationError
Auto Trait Implementations§
impl Freeze for StreamPublicationError
impl RefUnwindSafe for StreamPublicationError
impl Send for StreamPublicationError
impl Sync for StreamPublicationError
impl Unpin for StreamPublicationError
impl UnsafeUnpin for StreamPublicationError
impl UnwindSafe for StreamPublicationError
Blanket Implementations§
impl<T> Allocation for T
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