Trait safe_transmute::guard::Guard [−][src]
The trait describes types which define boundary checking strategies. See the module-level documentation for more details.
Required methods
fn check<T>(v: &[u8]) -> Result<(), GuardError>
[src]
Check the size of the given byte slice against a particular type.
Errors
If the slice’s size does not comply with this guard, an error which specifies the incompatibility is returned.