Enum bpstd::SegParseError 
source · pub enum SegParseError {
    InvalidFormat(IndexParseError),
    Confinement(Error),
}Variants§
InvalidFormat(IndexParseError)
derivation contains invalid index - {0}.
Confinement(Error)
derivation segment contains too many variants.
Trait Implementations§
source§impl Clone for SegParseError
 
impl Clone for SegParseError
source§fn clone(&self) -> SegParseError
 
fn clone(&self) -> SegParseError
Returns a copy 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 SegParseError
 
impl Debug for SegParseError
source§impl Display for SegParseError
 
impl Display for SegParseError
source§impl Error for SegParseError
 
impl Error for SegParseError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for SegParseError
 
impl From<Error> for SegParseError
source§impl From<IndexParseError> for SegParseError
 
impl From<IndexParseError> for SegParseError
source§fn from(v: IndexParseError) -> Self
 
fn from(v: IndexParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for SegParseError
 
impl From<ParseIntError> for SegParseError
source§fn from(v: ParseIntError) -> Self
 
fn from(v: ParseIntError) -> Self
Converts to this type from the input type.
source§impl From<SegParseError> for String
 
impl From<SegParseError> for String
source§fn from(err: SegParseError) -> Self
 
fn from(err: SegParseError) -> Self
Converts to this type from the input type.
source§impl PartialEq for SegParseError
 
impl PartialEq for SegParseError
source§fn eq(&self, other: &SegParseError) -> bool
 
fn eq(&self, other: &SegParseError) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for SegParseError
impl StructuralEq for SegParseError
impl StructuralPartialEq for SegParseError
Auto Trait Implementations§
impl RefUnwindSafe for SegParseError
impl Send for SegParseError
impl Sync for SegParseError
impl Unpin for SegParseError
impl UnwindSafe for SegParseError
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
§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.