code: func (d *Dataset) SendSnapshot(output io.Writer) error {
  	if d.Type != DatasetSnapshot {
  		return errors.New("can only send snapshots")
  	}
  
  	c := command{Command: "zfs", Stdout: output}
  	_, err := c.Run("send", d.Name)
  	return err
  }
docs: // SendSnapshot sends a ZFS stream of a snapshot to the input io.Writer.
  // An error will be returned if the input dataset is not of snapshot type.