pub struct ProtocolParser;Implementations§
Source§impl ProtocolParser
impl ProtocolParser
Sourcepub fn parse(raw_url: &str) -> ProtocolParseResult
pub fn parse(raw_url: &str) -> ProtocolParseResult
Parse a uxntal protocol URL with automatic git URL enhancement This shadows the base ProtocolParser::parse to provide git support automatically
Sourcepub fn render_url(result: &ProtocolParseResult) -> String
pub fn render_url(result: &ProtocolParseResult) -> String
Render a ProtocolParseResult back into a uxntal URL This exposes the render_url functionality from uxn_tal_defined
Auto Trait Implementations§
impl Freeze for ProtocolParser
impl RefUnwindSafe for ProtocolParser
impl Send for ProtocolParser
impl Sync for ProtocolParser
impl Unpin for ProtocolParser
impl UnsafeUnpin for ProtocolParser
impl UnwindSafe for ProtocolParser
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