// Copyright 2016, The Gtk-rs Project Developers.
// See the COPYRIGHT file at the top-level directory of this distribution.
// Licensed under the MIT license, see the LICENSE file or <http://opensource.org/licenses/MIT>
usestd::io;useffi::enums::Status;#[derive(Debug)]pubenumBorrowError{ Cairo(Status), NonExclusive }implFrom<Status>forBorrowError{fnfrom(status: Status)->Self{BorrowError::Cairo(status)}}#[derive(Debug)]pubenumIoError{ Cairo(Status), Io(io::Error)}implFrom<Status>forIoError{fnfrom(status: Status)->Self{IoError::Cairo(status)}}