Struct lettre::file::FileTransport [−][src]
pub struct FileTransport { /* fields omitted */ }
Expand description
Writes the content and the envelope information to a file
Implementations
impl FileTransport
[src]
impl FileTransport
[src]pub fn new<P: AsRef<Path>>(path: P) -> FileTransport
[src]
pub fn new<P: AsRef<Path>>(path: P) -> FileTransport
[src]Creates a new transport to the given directory
Trait Implementations
impl Debug for FileTransport
[src]
impl Debug for FileTransport
[src]impl<'de> Deserialize<'de> for FileTransport
[src]
impl<'de> Deserialize<'de> for FileTransport
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Serialize for FileTransport
[src]
impl Serialize for FileTransport
[src]impl<'a> Transport<'a> for FileTransport
[src]
impl<'a> Transport<'a> for FileTransport
[src]type Result = FileResult
type Result = FileResult
Result type for the transport
fn send(&mut self, email: SendableEmail) -> FileResult
[src]
fn send(&mut self, email: SendableEmail) -> FileResult
[src]Sends the email
Auto Trait Implementations
impl RefUnwindSafe for FileTransport
impl Send for FileTransport
impl Sync for FileTransport
impl Unpin for FileTransport
impl UnwindSafe for FileTransport
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,