pub enum PlatformRecordError {
InvalidSymbol(String),
DuplicateOffer(OpenSymbol),
}Variants§
InvalidSymbol(String)
DuplicateOffer(OpenSymbol)
Trait Implementations§
Source§impl Clone for PlatformRecordError
impl Clone for PlatformRecordError
Source§fn clone(&self) -> PlatformRecordError
fn clone(&self) -> PlatformRecordError
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 moreSource§impl Debug for PlatformRecordError
impl Debug for PlatformRecordError
Source§impl Display for PlatformRecordError
impl Display for PlatformRecordError
impl Eq for PlatformRecordError
Source§impl Error for PlatformRecordError
impl Error for PlatformRecordError
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 PlatformRecordError
impl PartialEq for PlatformRecordError
impl StructuralPartialEq for PlatformRecordError
Auto Trait Implementations§
impl Forget for PlatformRecordError
impl Freeze for PlatformRecordError
impl Move for PlatformRecordError
impl RefUnwindSafe for PlatformRecordError
impl Send for PlatformRecordErrorwhere
RawVecInner: Send,
impl Sync for PlatformRecordErrorwhere
RawVecInner: Sync,
impl Unpin for PlatformRecordError
impl UnsafeUnpin for PlatformRecordError
impl UnwindSafe for PlatformRecordErrorwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.