pub struct NQuadsStarSerializer;Expand description
N-Quads-Star Serializer
Serializes to N-Quads-Star format: <<>> p o
Implementations§
Trait Implementations§
Source§impl RdfStarSerializer for NQuadsStarSerializer
impl RdfStarSerializer for NQuadsStarSerializer
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 NQuadsStarSerializer
impl RefUnwindSafe for NQuadsStarSerializer
impl Send for NQuadsStarSerializer
impl Sync for NQuadsStarSerializer
impl Unpin for NQuadsStarSerializer
impl UnsafeUnpin for NQuadsStarSerializer
impl UnwindSafe for NQuadsStarSerializer
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