pub struct DenyAll;Expand description
A tag validator allowing no tags in the specification
Trait Implementations§
Source§impl TagParser for DenyAll
impl TagParser for DenyAll
Source§type GlobalTags = ()
type GlobalTags = ()
The type representing the result of parsing global tags
Source§fn parse_global(
&self,
_global_tags: &HashMap<String, Option<String>>,
_mir: &RtLolaMir,
) -> Result<Self::GlobalTags, RtLolaError>
fn parse_global( &self, _global_tags: &HashMap<String, Option<String>>, _mir: &RtLolaMir, ) -> Result<Self::GlobalTags, RtLolaError>
Parses the global tags to
Self::GlobalTagsSource§fn parse_local(
&self,
_sr: StreamReference,
_tags: &HashMap<String, Option<String>>,
_mir: &RtLolaMir,
) -> Result<Self::LocalTags, RtLolaError>
fn parse_local( &self, _sr: StreamReference, _tags: &HashMap<String, Option<String>>, _mir: &RtLolaMir, ) -> Result<Self::LocalTags, RtLolaError>
Parses the tags annotated to a stream to
Self::LocalTagsSource§impl TagValidator for DenyAll
impl TagValidator for DenyAll
Returns the global/local tags that are supported by the parser.
impl Copy for DenyAll
Auto Trait Implementations§
impl Freeze for DenyAll
impl RefUnwindSafe for DenyAll
impl Send for DenyAll
impl Sync for DenyAll
impl Unpin for DenyAll
impl UnwindSafe for DenyAll
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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