Trait TryIntoId

Source
pub trait TryIntoId: TryIntoIri + TryIntoBlankId {
    // Provided method
    fn try_into_id(self) -> Result<Id<Self::Iri, Self::BlankId>, Self> { ... }
}
Expand description

Type that can be converted into an Id.

Provided Methods§

Source

fn try_into_id(self) -> Result<Id<Self::Iri, Self::BlankId>, Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<I, B> TryIntoId for Id<I, B>