Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type MailboxName = String
- type UID = Word64
- type Charset = String
- data MailboxInfo = MboxInfo {
- _mailbox :: MailboxName
- _exists :: Integer
- _recent :: Integer
- _flags :: [Flag]
- _permanentFlags :: [Flag]
- _isWritable :: Bool
- _isFlagWritable :: Bool
- _uidNext :: UID
- _uidValidity :: UID
- data Flag
- data Attribute
- data MboxUpdate = MboxUpdate {}
- data StatusCode
- data ServerResponse
- = OK (Maybe StatusCode) String
- | NO (Maybe StatusCode) String
- | BAD (Maybe StatusCode) String
- | PREAUTH (Maybe StatusCode) String
- data MailboxStatus
- = MESSAGES
- | RECENT
- | UIDNEXT
- | UIDVALIDITY
- | UNSEEN
- data RespDerivs = RespDerivs {
- dvFlags :: Result RespDerivs [Flag]
- advTag :: Result RespDerivs String
- advChar :: Result RespDerivs Char
- advPos :: Pos
- emptyMboxInfo :: MailboxInfo
Documentation
type MailboxName = String Source #
data MailboxInfo Source #
MboxInfo | |
|
Instances
Show MailboxInfo Source # | |
Defined in Network.HaskellNet.IMAP.Types showsPrec :: Int -> MailboxInfo -> ShowS # show :: MailboxInfo -> String # showList :: [MailboxInfo] -> ShowS # | |
Eq MailboxInfo Source # | |
Defined in Network.HaskellNet.IMAP.Types (==) :: MailboxInfo -> MailboxInfo -> Bool # (/=) :: MailboxInfo -> MailboxInfo -> Bool # |
data MboxUpdate Source #
Instances
Show MboxUpdate Source # | |
Defined in Network.HaskellNet.IMAP.Types showsPrec :: Int -> MboxUpdate -> ShowS # show :: MboxUpdate -> String # showList :: [MboxUpdate] -> ShowS # | |
Eq MboxUpdate Source # | |
Defined in Network.HaskellNet.IMAP.Types (==) :: MboxUpdate -> MboxUpdate -> Bool # (/=) :: MboxUpdate -> MboxUpdate -> Bool # |
data StatusCode Source #
ALERT | |
BADCHARSET [Charset] | |
CAPABILITY_sc [String] | |
PARSE | |
PERMANENTFLAGS [Flag] | |
READ_ONLY | |
READ_WRITE | |
TRYCREATE | |
UIDNEXT_sc UID | |
UIDVALIDITY_sc UID | |
UNSEEN_sc Integer |
Instances
Show StatusCode Source # | |
Defined in Network.HaskellNet.IMAP.Types showsPrec :: Int -> StatusCode -> ShowS # show :: StatusCode -> String # showList :: [StatusCode] -> ShowS # | |
Eq StatusCode Source # | |
Defined in Network.HaskellNet.IMAP.Types (==) :: StatusCode -> StatusCode -> Bool # (/=) :: StatusCode -> StatusCode -> Bool # |
data ServerResponse Source #
OK (Maybe StatusCode) String | |
NO (Maybe StatusCode) String | |
BAD (Maybe StatusCode) String | |
PREAUTH (Maybe StatusCode) String |
Instances
Show ServerResponse Source # | |
Defined in Network.HaskellNet.IMAP.Types showsPrec :: Int -> ServerResponse -> ShowS # show :: ServerResponse -> String # showList :: [ServerResponse] -> ShowS # | |
Eq ServerResponse Source # | |
Defined in Network.HaskellNet.IMAP.Types (==) :: ServerResponse -> ServerResponse -> Bool # (/=) :: ServerResponse -> ServerResponse -> Bool # |
data MailboxStatus Source #
the query data type for the status command
MESSAGES | the number of messages in the mailbox |
RECENT | the number of messages with the Recent flag set |
UIDNEXT | the next unique identifier value of the mailbox |
UIDVALIDITY | the unique identifier validity value of the mailbox |
UNSEEN | the number of messages with the Unseen flag set |
Instances
Read MailboxStatus Source # | |
Defined in Network.HaskellNet.IMAP.Types readsPrec :: Int -> ReadS MailboxStatus # readList :: ReadS [MailboxStatus] # | |
Show MailboxStatus Source # | |
Defined in Network.HaskellNet.IMAP.Types showsPrec :: Int -> MailboxStatus -> ShowS # show :: MailboxStatus -> String # showList :: [MailboxStatus] -> ShowS # | |
Eq MailboxStatus Source # | |
Defined in Network.HaskellNet.IMAP.Types (==) :: MailboxStatus -> MailboxStatus -> Bool # (/=) :: MailboxStatus -> MailboxStatus -> Bool # |
data RespDerivs Source #
RespDerivs | |
|