#[non_exhaustive]pub enum RelayMarkerError {
Unknown(String),
}Expand description
Errors raised when parsing a NIP-65 marker string.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for RelayMarkerError
impl Clone for RelayMarkerError
Source§fn clone(&self) -> RelayMarkerError
fn clone(&self) -> RelayMarkerError
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 RelayMarkerError
impl Debug for RelayMarkerError
Source§impl Display for RelayMarkerError
impl Display for RelayMarkerError
Source§impl Error for RelayMarkerError
impl Error for RelayMarkerError
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 From<RelayMarkerError> for RelayListError
impl From<RelayMarkerError> for RelayListError
Source§fn from(source: RelayMarkerError) -> Self
fn from(source: RelayMarkerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RelayMarkerError
impl RefUnwindSafe for RelayMarkerError
impl Send for RelayMarkerError
impl Sync for RelayMarkerError
impl Unpin for RelayMarkerError
impl UnsafeUnpin for RelayMarkerError
impl UnwindSafe for RelayMarkerError
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