[−][src]Struct libimagmail::hasher::MailHasher
Trait Implementations
impl Hasher for MailHasher
[src]
const NAME: &'static str
[src]
fn hash<P: AsRef<Path>>(path: P) -> Result<String>
[src]
hash the file at path path
We create a sha1 over the path of the file (which is NOT safe, because mails can move) and the Message-ID of the mail itself.
TODO: Fix
The file name is not constant with mail files, because flags are encoded in the filename. The path is not constant with mail files, because they can be moved between boxes.
Auto Trait Implementations
impl RefUnwindSafe for MailHasher
impl Send for MailHasher
impl Sync for MailHasher
impl Unpin for MailHasher
impl UnwindSafe for MailHasher
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,