pub enum Received {
ReceivedRecordWithLabel(String),
ReceivedOtherValue(String),
// some variants omitted
}
Expand description
Used in Error::Expected to indicate what was received.
Variants§
ReceivedRecordWithLabel(String)
Received a record with the given label symbol text.
ReceivedOtherValue(String)
Received some other value, described in the String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Received
impl RefUnwindSafe for Received
impl Send for Received
impl Sync for Received
impl Unpin for Received
impl UnwindSafe for Received
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