pub struct CascadeCycleError {
pub from: Channel,
pub to: Channel,
}Expand description
Error returned when adding a cascade would create a cycle.
Fields§
§from: ChannelThe source channel of the cascade that would create a cycle.
to: ChannelThe target channel of the cascade that would create a cycle.
Trait Implementations§
Source§impl Clone for CascadeCycleError
impl Clone for CascadeCycleError
Source§fn clone(&self) -> CascadeCycleError
fn clone(&self) -> CascadeCycleError
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 CascadeCycleError
impl Debug for CascadeCycleError
Source§impl Display for CascadeCycleError
impl Display for CascadeCycleError
Source§impl Error for CascadeCycleError
impl Error for CascadeCycleError
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 CascadeCycleError
impl PartialEq for CascadeCycleError
impl Eq for CascadeCycleError
impl StructuralPartialEq for CascadeCycleError
Auto Trait Implementations§
impl Freeze for CascadeCycleError
impl RefUnwindSafe for CascadeCycleError
impl Send for CascadeCycleError
impl Sync for CascadeCycleError
impl Unpin for CascadeCycleError
impl UnsafeUnpin for CascadeCycleError
impl UnwindSafe for CascadeCycleError
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