[][src]Trait uikit_sys::INSURLSessionTask

pub trait INSURLSessionTask: Sized + Deref {
    unsafe fn cancel(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn suspend(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn resume(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn init(self) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn taskIdentifier(self) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn originalRequest(self) -> NSURLRequest
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn currentRequest(self) -> NSURLRequest
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn response(self) -> NSURLResponse
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn progress(self) -> NSProgress
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn earliestBeginDate(self) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setEarliestBeginDate_(self, earliestBeginDate: NSDate)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn countOfBytesClientExpectsToSend(self) -> i64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setCountOfBytesClientExpectsToSend_(
        self,
        countOfBytesClientExpectsToSend: i64
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn countOfBytesClientExpectsToReceive(self) -> i64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setCountOfBytesClientExpectsToReceive_(
        self,
        countOfBytesClientExpectsToReceive: i64
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn countOfBytesReceived(self) -> i64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn countOfBytesSent(self) -> i64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn countOfBytesExpectedToSend(self) -> i64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn countOfBytesExpectedToReceive(self) -> i64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn taskDescription(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTaskDescription_(self, taskDescription: NSString)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn state(self) -> NSURLSessionTaskState
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn error(self) -> NSError
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn priority(self) -> f32
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setPriority_(self, priority: f32)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn new() -> instancetype
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn cancel(self) where
    Self::Target: Message + Sized

unsafe fn suspend(self) where
    Self::Target: Message + Sized

unsafe fn resume(self) where
    Self::Target: Message + Sized

unsafe fn init(self) -> instancetype where
    Self::Target: Message + Sized

unsafe fn taskIdentifier(self) -> NSUInteger where
    Self::Target: Message + Sized

unsafe fn originalRequest(self) -> NSURLRequest where
    Self::Target: Message + Sized

unsafe fn currentRequest(self) -> NSURLRequest where
    Self::Target: Message + Sized

unsafe fn response(self) -> NSURLResponse where
    Self::Target: Message + Sized

unsafe fn progress(self) -> NSProgress where
    Self::Target: Message + Sized

unsafe fn earliestBeginDate(self) -> NSDate where
    Self::Target: Message + Sized

unsafe fn setEarliestBeginDate_(self, earliestBeginDate: NSDate) where
    Self::Target: Message + Sized

unsafe fn countOfBytesClientExpectsToSend(self) -> i64 where
    Self::Target: Message + Sized

unsafe fn setCountOfBytesClientExpectsToSend_(
    self,
    countOfBytesClientExpectsToSend: i64
) where
    Self::Target: Message + Sized

unsafe fn countOfBytesClientExpectsToReceive(self) -> i64 where
    Self::Target: Message + Sized

unsafe fn setCountOfBytesClientExpectsToReceive_(
    self,
    countOfBytesClientExpectsToReceive: i64
) where
    Self::Target: Message + Sized

unsafe fn countOfBytesReceived(self) -> i64 where
    Self::Target: Message + Sized

unsafe fn countOfBytesSent(self) -> i64 where
    Self::Target: Message + Sized

unsafe fn countOfBytesExpectedToSend(self) -> i64 where
    Self::Target: Message + Sized

unsafe fn countOfBytesExpectedToReceive(self) -> i64 where
    Self::Target: Message + Sized

unsafe fn taskDescription(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn setTaskDescription_(self, taskDescription: NSString) where
    Self::Target: Message + Sized

unsafe fn state(self) -> NSURLSessionTaskState where
    Self::Target: Message + Sized

unsafe fn error(self) -> NSError where
    Self::Target: Message + Sized

unsafe fn priority(self) -> f32 where
    Self::Target: Message + Sized

unsafe fn setPriority_(self, priority: f32) where
    Self::Target: Message + Sized

unsafe fn new() -> instancetype where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSURLSessionTask for NSURLSessionDataTask[src]

impl INSURLSessionTask for NSURLSessionDownloadTask[src]

impl INSURLSessionTask for NSURLSessionStreamTask[src]

impl INSURLSessionTask for NSURLSessionTask[src]

impl INSURLSessionTask for NSURLSessionUploadTask[src]

impl INSURLSessionTask for NSURLSessionWebSocketTask[src]

Loading content...