pub enum StreamPolicyError {
DeclaredLengthTooLarge,
EventRequiresExecutorFraming,
}Expand description
Incoherent stream policy.
Variants§
DeclaredLengthTooLarge
The declared length exceeds the operation byte limit.
EventRequiresExecutorFraming
Event streams require executor-owned unknown-length framing.
Trait Implementations§
Source§impl Clone for StreamPolicyError
impl Clone for StreamPolicyError
Source§fn clone(&self) -> StreamPolicyError
fn clone(&self) -> StreamPolicyError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamPolicyError
Source§impl Debug for StreamPolicyError
impl Debug for StreamPolicyError
Source§impl Display for StreamPolicyError
impl Display for StreamPolicyError
impl Eq for StreamPolicyError
Source§impl Error for StreamPolicyError
impl Error for StreamPolicyError
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 StreamPolicyError
impl PartialEq for StreamPolicyError
impl StructuralPartialEq for StreamPolicyError
Auto Trait Implementations§
impl Freeze for StreamPolicyError
impl RefUnwindSafe for StreamPolicyError
impl Send for StreamPolicyError
impl Sync for StreamPolicyError
impl Unpin for StreamPolicyError
impl UnsafeUnpin for StreamPolicyError
impl UnwindSafe for StreamPolicyError
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