You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many Client methods expect a impl TryInto<Mailbox<'_>, Error = ValidationError>, but Mailbox does not actually implement this trait (only infallibly through the blanket From<T> for T implementation in Rust std). Not sure whether to report it at imap-types or here, but this makes it a little difficult to pass an already existing mailbox type :) And I don't think you can implement TryFrom twice, as Error is an associated type, so either way it probably needs to be solved here. Maybe through some new trait that allows both Into and TryInto, or by delegating the responsibility of conversion to the caller.
Many
Clientmethods expect aimpl TryInto<Mailbox<'_>, Error = ValidationError>, but Mailbox does not actually implement this trait (only infallibly through the blanketFrom<T> for Timplementation in Rust std). Not sure whether to report it at imap-types or here, but this makes it a little difficult to pass an already existing mailbox type :) And I don't think you can implementTryFromtwice, as Error is an associated type, so either way it probably needs to be solved here. Maybe through some new trait that allows bothIntoandTryInto, or by delegating the responsibility of conversion to the caller.