pub struct NTriplesStarSerializer;Expand description
N-Triples-Star Serializer
Serializes to N-Triples-Star format: <<>> p o .
Implementations§
Trait Implementations§
Source§impl RdfStarSerializer for NTriplesStarSerializer
impl RdfStarSerializer for NTriplesStarSerializer
Source§fn serialize_embedded_triple(
&self,
_virtual_id: u64,
components: &[u64; 3],
) -> Result<Vec<u8>, RdfStarSerializeError>
fn serialize_embedded_triple( &self, _virtual_id: u64, components: &[u64; 3], ) -> Result<Vec<u8>, RdfStarSerializeError>
Serialize a Virtual ID back to format-specific embedded triple syntax Read more
Source§fn serialize_triple(
&self,
subject: u64,
predicate: u64,
object: u64,
) -> Result<Vec<u8>, RdfStarSerializeError>
fn serialize_triple( &self, subject: u64, predicate: u64, object: u64, ) -> Result<Vec<u8>, RdfStarSerializeError>
Serialize a regular triple
Source§fn serialize_quad(
&self,
_subject: u64,
_predicate: u64,
_object: u64,
_graph: u64,
) -> Result<Vec<u8>, RdfStarSerializeError>
fn serialize_quad( &self, _subject: u64, _predicate: u64, _object: u64, _graph: u64, ) -> Result<Vec<u8>, RdfStarSerializeError>
Serialize a quad (subject, predicate, object, graph)
Source§fn supports_quads(&self) -> bool
fn supports_quads(&self) -> bool
Check if this serializer supports quad formats
Source§fn format_name(&self) -> &'static str
fn format_name(&self) -> &'static str
Get the format name for error reporting
Auto Trait Implementations§
impl Freeze for NTriplesStarSerializer
impl RefUnwindSafe for NTriplesStarSerializer
impl Send for NTriplesStarSerializer
impl Sync for NTriplesStarSerializer
impl Unpin for NTriplesStarSerializer
impl UnsafeUnpin for NTriplesStarSerializer
impl UnwindSafe for NTriplesStarSerializer
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more