Skip to main content

Sys

Struct Sys 

Source
pub struct Sys;
Expand description

Redox syscall implementation of Pal.

Trait Implementations§

Source§

impl Pal for Sys

Source§

fn faccessat(fd: c_int, path: CStr<'_>, mode: c_int, flags: c_int) -> Result<()>

Platform implementation of faccessat() from unistd.h.
Source§

unsafe fn brk(addr: *mut c_void) -> Result<*mut c_void>

Platform implementation of brk() from unistd.h.
Source§

fn chdir(path: CStr<'_>) -> Result<()>

Platform implementation of chdir() from unistd.h.
Source§

fn chmod(path: CStr<'_>, mode: mode_t) -> Result<()>

Platform implementation of chmod() from sys/stat.h.
Source§

fn chown(path: CStr<'_>, owner: uid_t, group: gid_t) -> Result<()>

Platform implementation of chown() from unistd.h.
Source§

fn clock_getres(clk_id: clockid_t, res: Option<Out<'_, timespec>>) -> Result<()>

Platform implementation of clock_getres() from time.h.
Source§

fn clock_gettime(clk_id: clockid_t, tp: Out<'_, timespec>) -> Result<()>

Platform implementation of clock_gettime() from time.h.
Source§

unsafe fn clock_settime(clk_id: clockid_t, tp: *const timespec) -> Result<()>

Platform implementation of clock_settime() from time.h.
Source§

fn close(fd: c_int) -> Result<()>

Platform implementation of close() from unistd.h.
Source§

fn dup2(fd1: c_int, fd2: c_int) -> Result<c_int>

Platform implementation of dup2() from unistd.h.
Source§

fn exit(status: c_int) -> !

Platform implementation of _Exit() from stdlib.h (or the equivalent _exit() from unistd.h).
Source§

unsafe fn execve( path: CStr<'_>, argv: *const *mut c_char, envp: *const *mut c_char, ) -> Result<()>

Platform implementation of execve() from unistd.h.
Source§

unsafe fn fexecve( fildes: c_int, argv: *const *mut c_char, envp: *const *mut c_char, ) -> Result<()>

Platform implementation of fexecve() from unistd.h.
Source§

fn fchdir(fd: c_int) -> Result<()>

Platform implementation of fchdir() from unistd.h.
Source§

fn fchmodat( dirfd: c_int, path: Option<CStr<'_>>, mode: mode_t, flags: c_int, ) -> Result<()>

Platform implementation of fchmodat() from sys/stat.h.
Source§

fn fchownat( fildes: c_int, path: CStr<'_>, owner: uid_t, group: gid_t, flags: c_int, ) -> Result<()>

Platform implementation of fchownat() from unistd.h.
Source§

fn fcntl(fd: c_int, cmd: c_int, args: c_ulonglong) -> Result<c_int>

Platform implementation of fcntl() from fcntl.h.
Source§

fn fdatasync(fd: c_int) -> Result<()>

Platform implementation of fdatasync() from unistd.h.
Source§

fn flock(_fd: c_int, _operation: c_int) -> Result<()>

Platform implementation of flock() from sys/file.h.
Source§

unsafe fn fork() -> Result<pid_t>

Platform implementation of _Fork() from unistd.h.
Source§

fn fstatat( dirfd: c_int, path: Option<CStr<'_>>, buf: Out<'_, stat>, flags: c_int, ) -> Result<()>

Platform implementation of fstatat() from sys/stat.h.
Source§

fn fstatvfs(fildes: c_int, buf: Out<'_, statvfs>) -> Result<()>

Platform implementation of fstatvfs() from sys/statvfs.h.
Source§

fn fsync(fd: c_int) -> Result<()>

Platform implementation of fsync() from unistd.h.
Source§

fn ftruncate(fd: c_int, len: off_t) -> Result<()>

Platform implementation of ftruncate() from unistd.h.
Source§

unsafe fn futex_wait( addr: *mut u32, val: u32, deadline: Option<&timespec>, ) -> Result<()>

Source§

unsafe fn futex_wake(addr: *mut u32, num: u32) -> Result<u32>

Source§

unsafe fn utimensat( dirfd: c_int, path: CStr<'_>, times: *const timespec, flag: c_int, ) -> Result<()>

Platform implementation of utimensat() (from sys/stat.h.
Source§

fn getcwd(buf: Out<'_, [u8]>) -> Result<()>

Platform implementation of getcwd() from unistd.h.
Source§

fn getdents(fd: c_int, buf: &mut [u8], opaque: u64) -> Result<usize>

Source§

fn dir_seek(_fd: c_int, _off: u64) -> Result<()>

Source§

unsafe fn dent_reclen_offset( this_dent: &[u8], offset: usize, ) -> Option<(u16, u64)>

Source§

fn getegid() -> gid_t

Platform implementation of getegid() from unistd.h.
Source§

fn geteuid() -> uid_t

Platform implementation of geteuid() from unistd.h.
Source§

fn getgid() -> gid_t

Platform implementation of getgid() from unistd.h.
Source§

fn getgroups(list: Out<'_, [gid_t]>) -> Result<c_int>

Platform implementation of getgroups() from unistd.h.
Source§

fn getpagesize() -> usize

Source§

fn getpgid(pid: pid_t) -> Result<pid_t>

Platform implementation of getpgid() from unistd.h.
Source§

fn getpid() -> pid_t

Platform implementation of getpid() from unistd.h.
Source§

fn getppid() -> pid_t

Platform implementation of getppid() from unistd.h.
Source§

fn getpriority(which: c_int, who: id_t) -> Result<c_int>

Platform implementation of getpriority() from sys/resource.h.
Source§

fn getrandom(buf: &mut [u8], flags: c_uint) -> Result<usize>

Platform implementation of getrandom() from sys/random.h.
Source§

fn getresgid( rgid_out: Option<Out<'_, gid_t>>, egid_out: Option<Out<'_, gid_t>>, sgid_out: Option<Out<'_, gid_t>>, ) -> Result<()>

Platform implementation of getresgid() from unistd.h.
Source§

fn getresuid( ruid_out: Option<Out<'_, uid_t>>, euid_out: Option<Out<'_, uid_t>>, suid_out: Option<Out<'_, uid_t>>, ) -> Result<()>

Platform implementation of getresuid() from unistd.h.
Source§

fn getrlimit(resource: c_int, rlim: Out<'_, rlimit>) -> Result<()>

Platform implementation of getrlimit() from sys/resource.h.
Source§

unsafe fn setrlimit(resource: c_int, rlim: *const rlimit) -> Result<()>

Platform implementation of setrlimit() from sys/resource.h.
Source§

fn getrusage(who: c_int, r_usage: Out<'_, rusage>) -> Result<()>

Platform implementation of getrusage() from sys/resource.h.
Source§

fn getsid(pid: pid_t) -> Result<pid_t>

Platform implementation of getsid() from unistd.h.
Source§

fn gettid() -> pid_t

Platform implementation of gettid() (TODO) from unistd.h.
Source§

fn gettimeofday( tp: Out<'_, timeval>, tzp: Option<Out<'_, timezone>>, ) -> Result<()>

Platform implementation of gettimeofday() from sys/time.h.
Source§

fn getuid() -> uid_t

Platform implementation of getuid() from unistd.h.
Source§

fn linkat( fd1: c_int, oldpath: CStr<'_>, fd2: c_int, newpath: CStr<'_>, flags: c_int, ) -> Result<()>

Platform implementation of linkat() from unistd.h.
Source§

fn lseek(fd: c_int, offset: off_t, whence: c_int) -> Result<off_t>

Platform implementation of lseek() from unistd.h.
Source§

fn mkdirat(dir_fd: c_int, path_name: CStr<'_>, mode: mode_t) -> Result<()>

Platform implementation of mkdirat() from sys/stat.h.
Source§

fn mkfifoat(dir_fd: c_int, path_name: CStr<'_>, mode: mode_t) -> Result<()>

Platform implementation of mkfifoat() from sys/stat.h.
Source§

fn mknodat( dir_fd: c_int, path_name: CStr<'_>, mode: mode_t, dev: dev_t, ) -> Result<()>

Platform implementation of mknodat() from sys/stat.h.
Source§

unsafe fn mlock(addr: *const c_void, len: usize) -> Result<()>

Platform implementation of mlock() from sys/mman.h.
Source§

unsafe fn mlockall(flags: c_int) -> Result<()>

Platform implementation of mlockall() from sys/mman.h.
Source§

unsafe fn mmap( addr: *mut c_void, len: usize, prot: c_int, flags: c_int, fildes: c_int, off: off_t, ) -> Result<*mut c_void>

Platform implementation of mmap() from sys/mman.h.
Source§

unsafe fn mremap( addr: *mut c_void, len: usize, new_len: usize, flags: c_int, args: *mut c_void, ) -> Result<*mut c_void>

Platform implementation of mremap() from sys/mman.h.
Source§

unsafe fn mprotect(addr: *mut c_void, len: usize, prot: c_int) -> Result<()>

Platform implementation of mprotect() from sys/mman.h.
Source§

unsafe fn msync(addr: *mut c_void, len: usize, flags: c_int) -> Result<()>

Platform implementation of msync() from sys/mman.h.
Source§

unsafe fn munlock(addr: *const c_void, len: usize) -> Result<()>

Platform implementation of munlock() from sys/mman.h.
Source§

unsafe fn munlockall() -> Result<()>

Platform implementation of munlockall() from sys/mman.h.
Source§

unsafe fn munmap(addr: *mut c_void, len: usize) -> Result<()>

Platform implementation of munmap() from sys/mman.h.
Source§

unsafe fn madvise(addr: *mut c_void, len: usize, flags: c_int) -> Result<()>

Platform implementation of madvise() from sys/mman.h.
Source§

unsafe fn nanosleep(rqtp: *const timespec, rmtp: *mut timespec) -> Result<()>

Platform implementation of nanosleep() from time.h.
Source§

fn openat( dirfd: c_int, path: CStr<'_>, oflag: c_int, mode: mode_t, ) -> Result<c_int>

Platform implementation of openat() (TODO) from fcntl.h.
Source§

fn pipe2(fds: Out<'_, [c_int; 2]>, flags: c_int) -> Result<()>

Platform implementation of pipe2() from unistd.h.
Source§

fn posix_fallocate(fd: c_int, offset: u64, length: NonZeroU64) -> Result<()>

Platform implementation of posix_fallocate() from fcntl.h.
Source§

fn posix_getdents(fildes: c_int, buf: &mut [u8]) -> Result<usize>

Platform implementation of posix_getdents() from dirent.h.
Source§

unsafe fn rlct_clone( stack: *mut usize, os_specific: &mut OsSpecific, ) -> Result<OsTid>

Source§

unsafe fn rlct_kill(os_tid: OsTid, signal: usize) -> Result<()>

Source§

fn current_os_tid() -> OsTid

Source§

fn read(fd: c_int, buf: &mut [u8]) -> Result<usize>

Platform implementation of read() from unistd.h.
Source§

fn pread(fd: c_int, buf: &mut [u8], offset: off_t) -> Result<usize>

Platform implementation of pread() from unistd.h.
Source§

fn fpath(fildes: c_int, out: &mut [u8]) -> Result<usize>

Source§

fn readlinkat(dirfd: c_int, path: CStr<'_>, out: &mut [u8]) -> Result<usize>

Platform implementation of readlinkat() from unistd.h.
Source§

fn renameat2( old_dir: c_int, old_path: CStr<'_>, new_dir: c_int, new_path: CStr<'_>, flags: c_uint, ) -> Result<()>

Platform implementation of renameat2() from stdio.h.
Source§

fn sched_yield() -> Result<()>

Platform implementation of sched_yield() from sched.h.
Source§

unsafe fn setgroups(size: size_t, list: *const gid_t) -> Result<()>

Platform implementation of setgroups() from grp.h.
Source§

fn setpgid(pid: pid_t, pgid: pid_t) -> Result<()>

Platform implementation of setpgid() from unistd.h.
Source§

fn setpriority(which: c_int, who: id_t, prio: c_int) -> Result<()>

Platform implementation of setpriority() from sys/resource.h.
Source§

fn setsid() -> Result<c_int>

Platform implementation of setsid() from unistd.h.
Source§

fn setresgid(rgid: gid_t, egid: gid_t, sgid: gid_t) -> Result<()>

Platform implementation of setresgid() from unistd.h.
Source§

fn setresuid(ruid: uid_t, euid: uid_t, suid: uid_t) -> Result<()>

Platform implementation of setresuid() from unistd.h.
Source§

unsafe fn spawn( program: CStr<'_>, fac: Option<&posix_spawn_file_actions_t>, fat: Option<&posix_spawnattr_t>, argv: NulTerminated<'_, *mut c_char>, envp: Option<NulTerminated<'_, *mut c_char>>, ) -> Result<pid_t>

Source§

fn symlinkat(path1: CStr<'_>, fd: c_int, path2: CStr<'_>) -> Result<()>

Platform implementation of symlinkat() from unistd.h.
Source§

fn sync() -> Result<()>

Platform implementation of sync() from unistd.h.
Source§

fn timer_create( clock_id: clockid_t, evp: &sigevent, timerid: Out<'_, timer_t>, ) -> Result<()>

Platform implementation of timer_create() from time.h.
Source§

fn timer_delete(timerid: timer_t) -> Result<()>

Platform implementation of timer_delete() from time.h.
Source§

fn timer_gettime(timerid: timer_t, value: Out<'_, itimerspec>) -> Result<()>

Platform implementation of timer_gettime() from time.h.
Source§

fn timer_settime( timerid: timer_t, flags: c_int, value: &itimerspec, ovalue: Option<Out<'_, itimerspec>>, ) -> Result<()>

Platform implementation of timer_settime() from time.h.
Source§

fn umask(mask: mode_t) -> mode_t

Platform implementation of umask() from sys/stat.h.
Source§

fn uname(utsname: Out<'_, utsname>) -> Result<(), Errno>

Platform implementation of uname() from sys/utsname.h.
Source§

fn unlinkat(fd: c_int, path: CStr<'_>, flags: c_int) -> Result<()>

Platform implementation of unlinkat() from unistd.h.
Source§

fn waitpid( pid: pid_t, stat_loc: Option<Out<'_, c_int>>, options: c_int, ) -> Result<pid_t>

Platform implementation of waitpid() from sys/wait.h.
Source§

fn write(fd: c_int, buf: &[u8]) -> Result<usize>

Platform implementation of write() from unistd.h.
Source§

fn pwrite(fd: c_int, buf: &[u8], offset: off_t) -> Result<usize>

Platform implementation of pwrite() from unistd.h.
Source§

fn verify() -> bool

Source§

unsafe fn exit_thread(stack_base: *mut (), stack_size: usize) -> !

Source§

fn access(path: CStr<'_>, mode: c_int) -> Result<()>

Platform implementation of access() from unistd.h.
Source§

fn dup(fildes: c_int) -> Result<c_int>

Platform implementation of dup() from unistd.h.
Source§

fn fchmod(fildes: c_int, mode: mode_t) -> Result<()>

Platform implementation of fchmod() from sys/stat.h.
Source§

fn fchown(fildes: c_int, owner: uid_t, group: gid_t) -> Result<()>

Platform implementation of fchown() from unistd.h.
Source§

fn fstat(fildes: c_int, buf: Out<'_, stat>) -> Result<()>

Platform implementation of fstat() from sys/stat.h.
Source§

fn lstat(path: CStr<'_>, buf: Out<'_, stat>) -> Result<()>

Platform implementation of lstat() from sys/stat.h.
Source§

fn stat(path: CStr<'_>, buf: Out<'_, stat>) -> Result<()>

Platform implementation of stat() from sys/stat.h.
Source§

unsafe fn futimens(fd: c_int, times: *const timespec) -> Result<()>

Platform implementation of futimens() from sys/stat.h.
Source§

unsafe fn utimens(path: CStr<'_>, times: *const timespec) -> Result<()>

Platform implementation of utimens() (from sys/stat.h. This is an extension of POSIX.
Source§

fn lchown(path: CStr<'_>, owner: uid_t, group: gid_t) -> Result<()>

Platform implementation of lchown() from unistd.h.
Platform implementation of link() from unistd.h.
Source§

fn mkdir(path: CStr<'_>, mode: mode_t) -> Result<()>

Platform implementation of mkdir() from sys/stat.h.
Source§

fn mkfifo(path: CStr<'_>, mode: mode_t) -> Result<()>

Platform implementation of mkfifo() from sys/stat.h.
Source§

fn mknod(path: CStr<'_>, mode: mode_t, dev: dev_t) -> Result<()>

Platform implementation of mknod() from sys/stat.h.
Source§

fn open(path: CStr<'_>, oflag: c_int, mode: mode_t) -> Result<c_int>

Platform implementation of open() from fcntl.h.
Platform implementation of readlink() from unistd.h.
Source§

fn rename(old: CStr<'_>, new: CStr<'_>) -> Result<()>

Platform implementation of rename() from stdio.h.
Source§

fn renameat( old_dir: c_int, old_path: CStr<'_>, new_dir: c_int, new_path: CStr<'_>, ) -> Result<()>

Platform implementation of renameat() from stdio.h.
Source§

fn rmdir(path: CStr<'_>) -> Result<()>

Platform implementation of rmdir() from unistd.h.
Platform implementation of symlink() from unistd.h.
Platform implementation of unlink() from unistd.h.
Source§

impl PalEpoll for Sys

Source§

fn epoll_create1(flags: c_int) -> Result<c_int, Errno>

Platform implementation of epoll_create1() from sys/epoll.h.
Source§

unsafe fn epoll_ctl( epfd: c_int, op: c_int, fd: c_int, event: *mut epoll_event, ) -> Result<(), Errno>

Platform implementation of epoll_ctl() from sys/epoll.h.
Source§

unsafe fn epoll_pwait( epfd: c_int, events: *mut epoll_event, maxevents: c_int, timeout: c_int, sigset: *const sigset_t, ) -> Result<usize, Errno>

Platform implementation of epoll_pwait() from sys/epoll.h.
Source§

impl PalPtrace for Sys

Source§

unsafe fn ptrace( request: c_int, pid: pid_t, addr: *mut c_void, data: *mut c_void, ) -> Result<c_int, Errno>

Platform implementation of ptrace() from sys/ptrace.h.
Source§

impl PalSignal for Sys

Source§

fn getitimer(which: c_int, out: &mut itimerval) -> Result<()>

Platform implementation of getitimer() from sys/time.h.
Source§

fn kill(pid: pid_t, sig: c_int) -> Result<()>

Platform implementation of kill() from signal.h.
Source§

fn sigqueue(pid: pid_t, sig: c_int, val: sigval) -> Result<()>

Platform implementation of sigqueue() from signal.h.
Source§

fn killpg(pgrp: pid_t, sig: c_int) -> Result<()>

Platform implementation of killpg() from signal.h.
Source§

fn raise(sig: c_int) -> Result<()>

Platform implementation of raise() from signal.h.
Source§

fn setitimer( which: c_int, _new: &itimerval, old: Option<&mut itimerval>, ) -> Result<()>

Platform implementation of setitimer() from sys/time.h.
Source§

fn sigaction( sig: c_int, c_act: Option<&sigaction>, c_oact: Option<&mut sigaction>, ) -> Result<(), Errno>

Platform implementation of sigaction() from signal.h.
Source§

unsafe fn sigaltstack( new_c: Option<&stack_t>, old_c: Option<&mut stack_t>, ) -> Result<(), Errno>

Platform implementation of sigaltstack() from signal.h.
Source§

fn sigpending(set: &mut sigset_t) -> Result<(), Errno>

Platform implementation of sigpending() from signal.h.
Source§

fn sigprocmask( how: c_int, set: Option<&sigset_t>, oset: Option<&mut sigset_t>, ) -> Result<(), Errno>

Platform implementation of sigprocmask() from signal.h.
Source§

fn sigsuspend(mask: &sigset_t) -> Errno

Platform implementation of sigsuspend() from signal.h.
Source§

fn sigtimedwait( set: &sigset_t, info_out: Option<&mut siginfo_t>, timeout: Option<&timespec>, ) -> Result<c_int, Errno>

Platform implementation of sigtimedwait() from signal.h.
Source§

impl PalSocket for Sys

Source§

unsafe fn accept( socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t, ) -> Result<c_int>

Platform implementation of accept() from sys/socket.h.
Source§

unsafe fn bind( socket: c_int, address: *const sockaddr, address_len: socklen_t, ) -> Result<()>

Platform implementation of bind() from sys/socket.h.
Source§

unsafe fn connect( socket: c_int, address: *const sockaddr, address_len: socklen_t, ) -> Result<c_int>

Platform implementation of connect() from sys/socket.h.
Source§

unsafe fn getpeername( socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t, ) -> Result<()>

Platform implementation of getpeername() from sys/socket.h.
Source§

unsafe fn getsockname( socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t, ) -> Result<()>

Platform implementation of getsockname() from sys/socket.h.
Source§

unsafe fn getsockopt( socket: c_int, level: c_int, option_name: c_int, option_value: *mut c_void, option_len_ptr: *mut socklen_t, ) -> Result<()>

Platform implementation of getsockopt() from sys/socket.h.
Source§

fn listen(socket: c_int, backlog: c_int) -> Result<()>

Platform implementation of listen() from sys/socket.h.
Source§

unsafe fn recvfrom( socket: c_int, buf: *mut c_void, len: size_t, flags: c_int, address: *mut sockaddr, address_len: *mut socklen_t, ) -> Result<usize>

Platform implementation of recvfrom() from sys/socket.h.
Source§

unsafe fn recvmsg( socket: c_int, msg: *mut msghdr, flags: c_int, ) -> Result<usize>

Platform implementation of recvmsg() from sys/socket.h.
Source§

unsafe fn sendmsg( socket: c_int, msg: *const msghdr, flags: c_int, ) -> Result<usize>

Platform implementation of sendmsg() from sys/socket.h.
Source§

unsafe fn sendto( socket: c_int, buf: *const c_void, len: size_t, flags: c_int, dest_addr: *const sockaddr, dest_len: socklen_t, ) -> Result<usize>

Platform implementation of sendto() from sys/socket.h.
Source§

unsafe fn setsockopt( socket: c_int, level: c_int, option_name: c_int, option_value: *const c_void, option_len: socklen_t, ) -> Result<()>

Platform implementation of setsockopt() from sys/socket.h.
Source§

fn shutdown(socket: c_int, how: c_int) -> Result<()>

Platform implementation of shutdown() from sys/socket.h.
Source§

unsafe fn socket(domain: c_int, kind: c_int, protocol: c_int) -> Result<c_int>

Platform implementation of socket() from sys/socket.h.
Source§

fn socketpair( domain: c_int, kind: c_int, protocol: c_int, sv: &mut [c_int; 2], ) -> Result<()>

Platform implementation of socketpair() from sys/socket.h.

Auto Trait Implementations§

§

impl Freeze for Sys

§

impl RefUnwindSafe for Sys

§

impl Send for Sys

§

impl Sync for Sys

§

impl Unpin for Sys

§

impl UnsafeUnpin for Sys

§

impl UnwindSafe for Sys

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CastSlice<'_, T> for T

§

fn cast_slice(selves: &[T]) -> &[T]

§

impl<T> CastSliceMut<'_, T> for T

§

fn cast_slice_mut(selves: &mut [T]) -> &mut [T]

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.