pub enum CloneStreamError {
MaxClonesExceeded {
max_allowed: usize,
current_count: usize,
},
InvalidCloneId {
clone_id: usize,
},
CloneAlreadyActive {
clone_id: usize,
},
}Expand description
Errors that can occur when working with cloned streams
Variants§
MaxClonesExceeded
The maximum number of clones has been exceeded
InvalidCloneId
Invalid clone ID provided
CloneAlreadyActive
Clone is already active
Trait Implementations§
Source§impl Clone for CloneStreamError
impl Clone for CloneStreamError
Source§fn clone(&self) -> CloneStreamError
fn clone(&self) -> CloneStreamError
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 CloneStreamError
impl Debug for CloneStreamError
Source§impl Display for CloneStreamError
impl Display for CloneStreamError
Source§impl Error for CloneStreamError
impl Error for CloneStreamError
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 CloneStreamError
impl PartialEq for CloneStreamError
impl StructuralPartialEq for CloneStreamError
Auto Trait Implementations§
impl Freeze for CloneStreamError
impl RefUnwindSafe for CloneStreamError
impl Send for CloneStreamError
impl Sync for CloneStreamError
impl Unpin for CloneStreamError
impl UnwindSafe for CloneStreamError
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