#[repr(C)]
pub struct Protocol {
Show 15 fields pub revision: u64, pub open: ProtocolOpen, pub close: ProtocolClose, pub delete: ProtocolDelete, pub read: ProtocolRead, pub write: ProtocolWrite, pub get_position: ProtocolGetPosition, pub set_position: ProtocolSetPosition, pub get_info: ProtocolGetInfo, pub set_info: ProtocolSetInfo, pub flush: ProtocolFlush, pub open_ex: ProtocolOpenEx, pub read_ex: ProtocolReadEx, pub write_ex: ProtocolWriteEx, pub flush_ex: ProtocolFlushEx,
}

Fields

revision: u64open: ProtocolOpenclose: ProtocolClosedelete: ProtocolDeleteread: ProtocolReadwrite: ProtocolWriteget_position: ProtocolGetPositionset_position: ProtocolSetPositionget_info: ProtocolGetInfoset_info: ProtocolSetInfoflush: ProtocolFlushopen_ex: ProtocolOpenExread_ex: ProtocolReadExwrite_ex: ProtocolWriteExflush_ex: ProtocolFlushEx

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.