#[repr(C)]pub struct RmgrData {
pub rm_name: *const c_char,
pub rm_redo: Option<unsafe extern "C" fn(record: *mut XLogReaderState)>,
pub rm_desc: Option<unsafe extern "C" fn(buf: StringInfo, record: *mut XLogReaderState)>,
pub rm_identify: Option<unsafe extern "C" fn(info: uint8) -> *const c_char>,
pub rm_startup: Option<unsafe extern "C" fn()>,
pub rm_cleanup: Option<unsafe extern "C" fn()>,
pub rm_mask: Option<unsafe extern "C" fn(pagedata: *mut c_char, blkno: BlockNumber)>,
}
Fields§
§rm_name: *const c_char
§rm_redo: Option<unsafe extern "C" fn(record: *mut XLogReaderState)>
§rm_desc: Option<unsafe extern "C" fn(buf: StringInfo, record: *mut XLogReaderState)>
§rm_identify: Option<unsafe extern "C" fn(info: uint8) -> *const c_char>
§rm_startup: Option<unsafe extern "C" fn()>
§rm_cleanup: Option<unsafe extern "C" fn()>
§rm_mask: Option<unsafe extern "C" fn(pagedata: *mut c_char, blkno: BlockNumber)>
Trait Implementations§
impl Copy for RmgrData
Auto Trait Implementations§
impl Freeze for RmgrData
impl RefUnwindSafe for RmgrData
impl !Send for RmgrData
impl !Sync for RmgrData
impl Unpin for RmgrData
impl UnwindSafe for RmgrData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more