//! Blocking CAN API
/// A blocking CAN interface that is able to transmit and receive frames.
pubtraitCan{/// Associated frame type.
typeFrame:crate::can::Frame;/// Associated error type.
typeError:crate::can::Error;/// Puts a frame in the transmit buffer. Blocks until space is available in
/// the transmit buffer.
fntransmit(&mutself, frame:&Self::Frame)->Result<(), Self::Error>;/// Blocks until a frame was received or an error occured.
fnreceive(&mutself)->Result<Self::Frame, Self::Error>;}