pub enum Protocol {
POX,
}Variants§
POX
Implementations§
Source§impl Protocol
impl Protocol
Sourcepub fn file_extension(&self) -> String
pub fn file_extension(&self) -> String
Create the corresponding file extension for the current protocol.
pub fn from_ext<E: AsRef<str>>(ext: E) -> Option<Self>
pub fn create_request_body<E: AsRef<str>>( &self, email_address: E, ) -> Result<Bytes>
pub fn parse_response<B: AsRef<[u8]>>( &self, bytes: B, ) -> Result<AutodiscoverResult>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl Send for Protocol
impl Sync for Protocol
impl Unpin for Protocol
impl UnwindSafe for Protocol
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