#[repr(C)]pub struct Protocol {
pub revision: u64,
pub media: *const Media,
pub reset: ProtocolReset,
pub read_blocks: ProtocolReadBlocks,
pub write_blocks: ProtocolWriteBlocks,
pub flush_blocks: ProtocolFlushBlocks,
}Fields§
§revision: u64§media: *const Media§reset: ProtocolReset§read_blocks: ProtocolReadBlocks§write_blocks: ProtocolWriteBlocks§flush_blocks: ProtocolFlushBlocksAuto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl !Send for Protocol
impl !Sync for Protocol
impl Unpin for Protocol
impl UnwindSafe for Protocol
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