pub struct URLENC;Expand description
URLEncoding interface.
Trait Implementations§
Source§impl Format for URLENC
impl Format for URLENC
Source§fn content_type(&self) -> String
fn content_type(&self) -> String
Content type.
Source§fn header_import(
&self,
pid: &str,
doc: &mut SDoc,
_content_type: &str,
bytes: &mut Bytes,
as_name: &str,
) -> Result<(), SError>
fn header_import( &self, pid: &str, doc: &mut SDoc, _content_type: &str, bytes: &mut Bytes, as_name: &str, ) -> Result<(), SError>
Header import.
Source§fn string_import(
&self,
pid: &str,
doc: &mut SDoc,
src: &str,
as_name: &str,
) -> Result<(), SError>
fn string_import( &self, pid: &str, doc: &mut SDoc, src: &str, as_name: &str, ) -> Result<(), SError>
String import.
Source§fn file_import(
&self,
pid: &str,
doc: &mut SDoc,
_format: &str,
full_path: &str,
_extension: &str,
as_name: &str,
) -> Result<(), SError>
fn file_import( &self, pid: &str, doc: &mut SDoc, _format: &str, full_path: &str, _extension: &str, as_name: &str, ) -> Result<(), SError>
File import.
Source§fn export_string(
&self,
_pid: &str,
doc: &SDoc,
node: Option<&SNodeRef>,
) -> Result<String, SError>
fn export_string( &self, _pid: &str, doc: &SDoc, node: Option<&SNodeRef>, ) -> Result<String, SError>
Export string.
Source§fn additional_formats(&self) -> Vec<String>
fn additional_formats(&self) -> Vec<String>
Additional extensions (formats) that this format is listed under.
Auto Trait Implementations§
impl Freeze for URLENC
impl RefUnwindSafe for URLENC
impl Send for URLENC
impl Sync for URLENC
impl Unpin for URLENC
impl UnwindSafe for URLENC
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