pub trait NSURLRequest: Sized {
    // Required methods
    unsafe fn requestWithURL_(_: Self, url: id) -> id;
    unsafe fn initWithURL_(self, url: id) -> id;
    unsafe fn requestWithURL_cachePolicy_timeoutInterval(
        _: Self,
        url: id,
        cachePolicy: id,
        timeoutInterval: NSTimeInterval
    ) -> id;
    unsafe fn initWithURL_cachePolicy_timeoutInterval(
        self,
        url: id,
        cachePolicy: id,
        timeoutInterval: NSTimeInterval
    ) -> id;

    // Provided method
    unsafe fn alloc(_: Self) -> id { ... }
}

Required Methods§

source

unsafe fn requestWithURL_(_: Self, url: id) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn initWithURL_(self, url: id) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn requestWithURL_cachePolicy_timeoutInterval( _: Self, url: id, cachePolicy: id, timeoutInterval: NSTimeInterval ) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn initWithURL_cachePolicy_timeoutInterval( self, url: id, cachePolicy: id, timeoutInterval: NSTimeInterval ) -> id

Safety

All the FFI functions are unsafe.

Provided Methods§

source

unsafe fn alloc(_: Self) -> id

Safety

All the FFI functions are unsafe.

Implementations on Foreign Types§

source§

impl NSURLRequest for id

source§

unsafe fn requestWithURL_(_: Self, url: id) -> id

source§

unsafe fn initWithURL_(self, url: id) -> id

source§

unsafe fn requestWithURL_cachePolicy_timeoutInterval( _: Self, url: id, cachePolicy: id, timeoutInterval: NSTimeInterval ) -> id

source§

unsafe fn initWithURL_cachePolicy_timeoutInterval( self, url: id, cachePolicy: id, timeoutInterval: NSTimeInterval ) -> id

Implementors§