pub struct ForeignSessionError {
pub expected: String,
pub actual: String,
}Expand description
A page or live event named a different session than its consumer.
Fields§
§expected: StringThe session the consumer serves.
actual: StringThe session the page or event named.
Trait Implementations§
Source§impl Clone for ForeignSessionError
impl Clone for ForeignSessionError
Source§impl Debug for ForeignSessionError
impl Debug for ForeignSessionError
Source§impl Display for ForeignSessionError
impl Display for ForeignSessionError
impl Eq for ForeignSessionError
Source§impl Error for ForeignSessionError
impl Error for ForeignSessionError
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 ForeignSessionError
impl PartialEq for ForeignSessionError
impl StructuralPartialEq for ForeignSessionError
Auto Trait Implementations§
impl Freeze for ForeignSessionError
impl RefUnwindSafe for ForeignSessionError
impl Send for ForeignSessionError
impl Sync for ForeignSessionError
impl Unpin for ForeignSessionError
impl UnsafeUnpin for ForeignSessionError
impl UnwindSafe for ForeignSessionError
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